I've looked at the documentation at http://www.suse.de/~nashif/autoinstall/ as well as a few examples and I still can't quite figure out the right way to get these scripts to work. They appear to simply not be running. For example, I have the following xml in a SuSE 9.0 build script: <configure> <scripts> <chroot-scripts config:type="list"> <script> <filename>chroot.sh</filename> <interpreter>shell</interpreter> <source> <![CDATA[#!/bin/sh df > /test df > /mnt/test df | rsh 10.6.1.1 dd of=/tmp/test ]]> </source> </script> </chroot-scripts> </scripts> ... I don't think it ever runs. I don't see the file in / or /mnt nor does the rsh work. I've tried it both chroot and post. I also have a question about the chroot script. Am I right to assume that the system is all contained under /mnt when it's executed? The documentation wasn't completely clear to me. Thanks Chris
On Wednesday 25 August 2004 21:46, Penney, Christopher (C.) wrote:
I've looked at the documentation at http://www.suse.de/~nashif/autoinstall/ as well as a few examples and I still can't quite figure out the right way to get these scripts to work. They appear to simply not be running. For example, I have the following xml in a SuSE 9.0 build script:
<configure> <scripts> <chroot-scripts config:type="list"> <script> <filename>chroot.sh</filename> <interpreter>shell</interpreter> <source> <![CDATA[#!/bin/sh df > /test df > /mnt/test df | rsh 10.6.1.1 dd of=/tmp/test ]]> </source> </script> </chroot-scripts> </scripts> ...
I don't think it ever runs. I don't see the file in / or /mnt nor does the rsh work. I've tried it both chroot and post.
The logs are in /var/adm/autoinstall/logs/ of the target system. /Each/ script generates a log file. Look in that directory to see if a script was successfull or not. Cheers, Leen
participants (2)
-
Leendert Meyer
-
Penney, Christopher (C.)