fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Is there a way to use fab to install programs on remote m


From: Brown, Rodrick
Subject: Re: [Fab-user] Is there a way to use fab to install programs on remote machine?
Date: Thu, 5 Apr 2012 17:15:13 -0400

DEBIAN_FRONTEND=noninteractive apt-get install -y java5-sun-jre || :

debconf 'echo SET shared/accepted-sun-dlj-v1-1 true; echo $(read) >&2'

apt-get install -y java6-sun-jre

 

From: fab-user-bounces+address@hidden [mailto:fab-user-bounces+address@hidden On Behalf Of Qitong Hu
Sent: Thursday, April 05, 2012 5:03 PM
To: address@hidden
Subject: Re: [Fab-user] Is there a way to use fab to install programs on remote machine?

 

Hi all,
Thanks for your advices. I have tried to use the -q -y in addition to the original command.
sudo apt-get -q -y install sun-java6-jre sun-java6-jdk, with export DEBIAN_FRONTEND=noninteractive first.
The install script does not ask me for the space Y/N, but it still prompt the "Package Configuration" panel and ask me to click <OK>, and I failed it again.
Is there anyway to skip that click as well?
Thanks

On Thu, Apr 5, 2012 at 4:40 PM, Qitong Hu <address@hidden> wrote:

Hi all,
Here is the case: I want to install Java on a remote machine using fab. However, in the middle of installation, there is policy prompt out and I should tab to the <OK> and click "enter" on it if I am installing it locally. While, with fab, I can tab to the button but cannot "press" the <OK> to accept and continue it. I'm wondering if there is a way to "click" the OK or typing something equivalently, or maybe add something in the command to make it default accept?
Thanks in advance!

 


Please visit our website for important disclaimers/disclosures regarding Knight’s products and services:

http://knight.com/KnightEmailDisclaimer.html


reply via email to

[Prev in Thread] Current Thread [Next in Thread]