Hi list.
I'm experimenting with the image install options introduced with opensuse10.2.
In the docs it sais
[func] an experimental imaging feature was added. Instead of installing via
RPM, you can provide an image script that is doing the installation:
<software>
<image>
http://10.10.0.162/image.sh
</image>
the image.sh script looks like this:
#!/bin/sh
wget -O - http://10.10.0.162/image.tgz 2>/dev/null| tar xfvz - -C /mnt
I'm trying the following.
<software>
<image>
http://autoyast/image.sh
</image>
</software>
the image.sh script is.
#!/bin/sh
wget -O - http://autoyast/autoconf-sl102/suse10.2.tgz 2>/dev/null| tar xfvz -
-C /mnt
The relevant extract from the log file seems to be
2007-01-12 10:11:24 <1> 192.168.21.107(3801) [agent-curl]
CurlAgent.cc(Execute):218 Output: /var/adm/au
toinstall/scripts/image.sh
2007-01-12 10:11:24 <3> 192.168.21.107(3801) [agent-curl] CurlAgent.cc(Get):55
Cant open file /var/adm/
autoinstall/scripts/image.sh
2007-01-12 10:11:24 <3> 192.168.21.107(3801) [YCP] autoinstall/io.ycp:84 Can't
find URL: http://autoyas
t/image.sh
2007-01-12 10:11:24 <3> 192.168.21.107(3801) [bash]
ShellCommand.cc(shellcommand):78 /bin/sh: /tmp/imag
e.sh: No such file or directory
2007-01-12 10:11:24 <1> 192.168.21.107(3801) [Interpreter]
clients/inst_autoimage.ycp:46 Called YaST cl
ient returned: `next
If I grab the file from wget, on the test machine, using the same URL, then it
works.
So, I'm stumped.
--
Simon Crute
IS&T
Bracknell
Novell UK Ltd
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org