The next release of yaim will use '-y' on apt-get commands by default.
In this case though, I would reiterate Fabien's advice, that the best
cron job is
apt-get update && apt-get -y install lcg-CA
I'll update the docs to reflect this.
Oliver.
Oliver Keeble Information Technology Department
[log in to unmask] CERN
+41 22 76 72360 CH-1211 Geneva 23
Vangelis Koukis wrote:
> 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.
>
|