[opensuse-autoinstall] Repeating pre-script
Hi all, we've just started playing with SuSE 10.3 retail and we seem to have a problem with a pre-script that keeps getting executed over and over again by autoyast. The pre-script has been successfully used in SuSE 10.2 to autodetect hard drives and memory size, and then producing a modified.xml that then gets used by the rest of the autoyast session. We have verified that the script runs fine and exits with status (zero) by means of the pre-script debug option. But nevertheless, it gets executed over and over again in an endless loop. Has anyone encountered any problems with re-executed pre-script? Any input appreciated /Lars -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Sonntag, 16. Dezember 2007, Lars Stavholm wrote:
Has anyone encountered any problems with re-executed pre-script?
Any input appreciated /Lars
hm. That's a side-effect of a new feature. Not a very nice side-effect I have to admit. I have to think about it but as a workaround, don't create a modified.xml a second time. So if your pre-script can't find any strings to replace, don't create a modified.xml. Or touch a file in /tmp and don't create a modified.xml when that file exists. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug now playing Pride and Fall - Blood -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Uwe Gansert wrote:
On Sonntag, 16. Dezember 2007, Lars Stavholm wrote:
Has anyone encountered any problems with re-executed pre-script?
Any input appreciated /Lars
hm. That's a side-effect of a new feature. Not a very nice side-effect I have to admit. I have to think about it but as a workaround, don't create a modified.xml a second time. So if your pre-script can't find any strings to replace, don't create a modified.xml. Or touch a file in /tmp and don't create a modified.xml when that file exists.
OK, tried that, worked nicely, thank you. /L -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Lars Stavholm
-
Uwe Gansert