Print

Print


On Wed, Mar 02, 2005 at 09:55:44am +0100, Gian Luca Volpato wrote:
> On Tuesday 01 March 2005 21:15, you wrote:
> >  In this case LCG has in the install guide
> >
> > http://grid-deployment.web.cern.ch/grid-deployment/documentation/LCG2-Manua
> >l-Install/
> >
> > <quote>
> >
> > > /opt/lcg/yaim/scripts/install_node <site-configuration-file> lcg-CA
> >
> > In order to keep the CA configuration up-to-date on your node we strongly
> > recommend Site Administrators to program a periodic upgrade procedure of
> > the CA on the installed node (e.g. running the above command via a daily
> > cron job).
> > </quote>
> 
> 
> This script alone fails to perform the CA upgrade because it aborts after
> waiting for an input from the Site Admin.
> Here is part of the output of the script:
> ---------
> Need to get 135kB of archives.
> After unpacking 3184B of additional disk space will be used.
> Do you want to continue? [Y/n] Abort.
> ---------
> 
> Is it possible to modify the script so that it does not require the user to
> type 'Y' in order to complete its tasks?
> 
> /Gian Luca

This script uses apt-get upgrade internally. It needs to be modified
to pass the '-y' switch to apt-get, so that it asks no questions and
just assumes an answer of 'Yes' to everything.

-- 
Vangelis Koukis
[log in to unmask]
OpenPGP public key ID:
pub  1024D/1D038E97 2003-07-13 Vangelis Koukis <[log in to unmask]>
     Key fingerprint = C5CD E02E 2C78 7C10 8A00  53D8 FBFC 3799 1D03 8E97

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
        -- Benjamin Franklin