[opensuse-autoinstall] ayast_setup
Hello List, I hope I can ask my question about ayast_setup here ..... I found this littel sweet looking tool on Uwe Gansert hp at suse.de ... Now I have some questions: 1. Can the filename argument be are URL too ? 2. What if I just bring eg. a packetlist into the XML file - would it leave the rest of the installation untouched ? - Would it install all missing packages and delete all packages which are not in the XML file but at the System ? 3. Can I use it in a Cronjob ? Thanks for helping. greetings Alex -- Alexander Luedtke Systemadministrator Adresse: TUM - Garching Boltzmannstr. 3 85748 Garching b. Muenchen Lehrstuhl: I20 - Frau Prof. Eckert Zimmer: 01.08.036 Tel: ++49 (89) 289 - 18039 Fax: ++49 (89) 289 - 18579 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
...
1. Can the filename argument be are URL too ? I do not know but you can use wget to download the file to a local fs.
2. What if I just bring eg. a packetlist into the XML file - would it leave the rest of the installation untouched ? In my understanding yes. At least it is working for us for a printer configuration.
- Would it install all missing packages and delete all packages which are not in the XML file but at the System ?
A simple test would tell meaning I do not know ;-(
3. Can I use it in a Cronjob ? This means unattended mode and no screen ( terminal) available for yast. So you must yast make believe that it has a terminal - I use the tool screen for that.
Example for a printer configuration. XML file must be valid. cat ./AfterYast /bin/bash export PATH=..... export TERM=vt100 wget ..../ printer.xml /tmp/printer.xml screen -D -m yast /usr/share/YaST2/clients/ayast_setup.ycp \ setup filename=/tmp/printer.xml" hth Hajo -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Wednesday 25 November 2009 Hans-Joachim Ehlers wrote:
1. Can the filename argument be are URL too ?
no, just a local file
I do not know but you can use wget to download the file to a local fs.
that's right and that's why I don't see that feature coming for ayast_setup.
2. What if I just bring eg. a packetlist into the XML file - would it leave the rest of the installation untouched ?
In my understanding yes. At least it is working for us for a printer configuration.
yes, it would just install those packages. It works only for the post-packages section
- Would it install all missing packages and delete all packages which are not in the XML file but at the System ?
no. It will not delete packages -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Alexander Luedtke
-
Hans-Joachim Ehlers
-
Uwe Gansert