The documentation on Novell's website states that starting with SLES9, the init-scripts tag is available. http://forgeftp.novell.com/yast/doc/SL10.0/autoinstall/createprofile.scripts... l#init.scripts I am using SLES9 sp5, however, xmllint is not happy about the init-scripts tag (surprise surprise) and the installer ignores it. my autoinstall.xml looks like this: <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <configure> <scripts> <init-scripts config:type="list"> <script> <source><![CDATA[ /root/fixSuSE 2>&1 | tee /root/fixSuSE.out echo "SuSE Patched for US..." sleep 5 ]]> </source> </script> </init-scripts> </scripts> ... Has anyone else had any luck with this? Do I need a different profile.dtd (can I get a newer one somewhere?)? Thanks, Paul
On Thursday 30 March 2006 01:17, discip@pjm.com wrote:
I am using SLES9 sp5,
SP5 does not exist. SP3 is the latest one.
my autoinstall.xml looks like this:
looks good.
Has anyone else had any luck with this?
I'm sure init-scripts on SP3 are working without any problems. Add a line like "touch /tmp/init_was_here" as first line to your init-script to check if it has started.
Do I need a different profile.dtd (can I get a newer one somewhere?)?
a new profile.dtd would not change anything. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
participants (2)
-
discip@pjm.com
-
Uwe Gansert