Hallo, have a look into the directory '/var/adm/autoinstall'! It should contain three subdirs. One is log, an other is scripts. If the file postinstall.sh exists inside the scrits directory, the part <post-scrips> is interpreted. Afterwards have a look at the logfiles, to find out what is wrong. Regards Thorsten -----Original Message----- From: Jeff Martin To: suse-autoinstall@suse.com Sent: 09.10.2002 15:16 Subject: [suse-autoinstall] post-script problem Anas, I've been using autoinstall with PXE to install SuSE 8.0 on machines in our test lab for a month or so. Everything was working great. Recently someone asked me to add another open-source package to the install (STAF, a test framework) and I thought the <post-scripts> tag would be a good place to do it. So I've been trying to test <post-scripts> by adding the following stanza to my xml script. .... <post-scripts config:type="list" > <script> <filename>postinstall.sh</filename> <interpreter>shell</interpreter> <source> <![CDATA[ #!/bin/sh touch /tmp/test.txt ]]> </source> </script> </post-scripts> .... Nothing happens. The file isn't created and I haven't found anything in the logs to show a failure. Any ideas on what I'm doing wrong? Thanks in advance, Jeff Martin http://www-124.ibm.com/developerworks/oss/linux/ http://ltp.sf.net -- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
yes. after installation is complete, i go into those 3 directories and they are empty. On Wed, 2002-10-09 at 09:23, Kugelberg, Thorsten wrote:
Hallo,
have a look into the directory '/var/adm/autoinstall'! It should contain three subdirs. One is log, an other is scripts. If the file postinstall.sh exists inside the scrits directory, the part <post-scrips> is interpreted. Afterwards have a look at the logfiles, to find out what is wrong.
Regards Thorsten
-----Original Message----- From: Jeff Martin To: suse-autoinstall@suse.com Sent: 09.10.2002 15:16 Subject: [suse-autoinstall] post-script problem
Anas,
I've been using autoinstall with PXE to install SuSE 8.0 on machines in our test lab for a month or so. Everything was working great. Recently someone asked me to add another open-source package to the install (STAF, a test framework) and I thought the <post-scripts> tag would be a good place to do it. So I've been trying to test <post-scripts> by adding the following stanza to my xml script.
....
<post-scripts config:type="list" > <script> <filename>postinstall.sh</filename> <interpreter>shell</interpreter> <source> <![CDATA[ #!/bin/sh touch /tmp/test.txt
]]> </source> </script> </post-scripts>
....
Nothing happens. The file isn't created and I haven't found anything in the logs to show a failure.
Any ideas on what I'm doing wrong?
Thanks in advance, Jeff Martin
http://www-124.ibm.com/developerworks/oss/linux/ http://ltp.sf.net
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
participants (2)
-
Jeff Martin
-
Kugelberg, Thorsten