I am trying to write a scripts that will automate my image provisoining process.
Scenario:
I have Linux Image Hosted on cloud which needs to be provisoned before it can be used. Currently we log onto the image through the putty on windows and connect to linux instance. I login as root then a scipt which runs as part of .profile of root user asks for certain inputs from the user which are as follows:
Accept License Agreemnet : (y/n)
New Password for user root:
New password for user xyx :
I just do not want to connect to each instance and enter the required values. I just wanted to enter the parameter as commandline input. what I tried was below
c:\putty1.txt contains the parameters y,password for users.
the issue is that this values from input file are passed on to shell before prompted for causing the script to terminate.
Any help on this will be helpful.
Arshad
Last edited by joeyg; 03-07-2011 at 01:08 PM..
Reason: Please use CodeTags around commands
Hi all,
I want to write a script which logs into a database (DB2). To do this i need to have a password. This will be done lots and lots of times, so i need to modify the script to automate the response to the password request.
How do i this, because at present i do the following:
db2 connect... (3 Replies)
Hey ppl,
I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this? (0 Replies)
Hey ppl,
I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this?:confused: (8 Replies)
Hi there,
I have to automate daily monitoring process and then the result of these process should be sent to a log file, then this log file should be mailed .
ps -ef | grep aa
In this atleast one process should run.
If the process is running it should mention Success in the log file... (3 Replies)
Solaris...
I need to automate running of scsudo from another script. However, I've determined that scsudo reads the password from /dev/tty rather than STDIN when the Password prompt appears. I don't have 'expect' or equivalents available - can I automate sending the correct password when... (1 Reply)
Could any one tell me , how to start a thread here, i just searching for so long. sorry to post in irrelavent here
---------- Post updated at 08:19 AM ---------- Previous update was at 08:00 AM ----------
Hi,
I got a requirement to automate the process.
We have SLA files, there are... (1 Reply)
Hi All,
I have a shell script that is integrated with a fault management system. It periodically monitors the system and raises an alarm. This script has different functions and it accepts input from us on the console. Is there any way to invoke it using a shell script ?
Please advise.
... (2 Replies)
Hi ,
I want to pull files from ftp monthly once . The files in ftp has a something like 292_fileto_pull and next month it will be 293_fileto_pull for each month the number keeps increasing. i thought in my script if i can use date and increment the number by it
mget *_292_fileto_pull
i... (2 Replies)
Hi
i had written one script,it sends email from terminal and mine script is as:
#!/bin/bash
SUBJECT="linux mail send attachment example"
BODY_FILE="/home/sreenivasa/Desktop/Testing.txt"
#ATTACHMENT_FILE="/home/sreenivasa/Desktop/Dataset.zip"... (23 Replies)
Hello,
I'm running Stockfish chess engine ( Home - Stockfish - Open Source Chess Engine ) CLI on Linux in interactive mode which is working fine.
root@ubuntu1950x:~# ./stockfish
Stockfish 080218 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
setoption name Debug Log File... (2 Replies)
Discussion started by: prvnrk
2 Replies
LEARN ABOUT DEBIAN
prima::image::transparencycontrol
Prima::Image::TransparencyControl(3) User Contributed Perl Documentation Prima::Image::TransparencyControl(3)NAME
Prima::Image::TransparencyControl - standard dialog for transparent color index selection.
DESCRIPTION
The module contains two classes - "Prima::Image::BasicTransparencyDialog" and "Prima::Image::TransparencyControl". The former provides a
dialog, used by image codec-specific save options dialogs to select a transparent color index when saving an image to a file.
"Prima::Image::TransparencyControl" is a widget class that displays the image palette and allow color rather than index selection.
Prima::Image::TransparencyControl
Properties
index INTEGER
Selects the palette index.
image IMAGE
Selects image which palette is displayed, and the color index can be selected from.
Events
Change
Triggered when the user changes "index" property.
Prima::Image::BasicTransparencyDialog
Methods
transparent BOOLEAN
If 1, the transparent selection widgets are enabled, and the user can select the palette index. If 0, the widgets are disabled; the
image file is saved with no transparent color index.
The property can be toggled interactively by a checkbox.
AUTHOR
Dmitry Karasik, <dmitry@karasik.eu.org>.
SEE ALSO
Prima::ImageDialog.
perl v5.14.2 2009-02-24 Prima::Image::TransparencyControl(3)