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> <script_location>http://10.10.0.162/image.sh</script_location> </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> <script_location>http://autoyast/image.sh</script_location> </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.
On Friday 12 January 2007 11:32, Simon Crute wrote:
I'm experimenting with the image install options introduced with opensuse10.2.
grrrrr. It's broken. I'll fix it and provide a driverupdate. Thanx for reporting. I broke it with a last minute change.
Thanks god it's only experimental. ;)
On Friday 12 January 2007 11:24, Uwe Gansert wrote:
On Friday 12 January 2007 11:32, Simon Crute wrote:
I'm experimenting with the image install options introduced with opensuse10.2.
grrrrr. It's broken. I'll fix it and provide a driverupdate. Thanx for reporting. I broke it with a last minute change.
Thanks god it's only experimental. ;)
:-)
Well, it restored the image this time (*lots* faster :-) )
Will this driver update work on a SLED system too ?
On Friday 12 January 2007 15:28, Simon Crute wrote:
I'll fix it and provide a driverupdate.
Well, it restored the image this time (*lots* faster :-) )
okay, thanks.
Will this driver update work on a SLED system too ?
no. It's only for 10.2
On Friday 12 January 2007 14:31, Uwe Gansert wrote:
Will this driver update work on a SLED system too ?
no. It's only for 10.2
Ahhh. That's a shame. I was hoping to test this on sled too.
On Friday 12 January 2007 14:31, Uwe Gansert wrote:
On Friday 12 January 2007 15:28, Simon Crute wrote:
I'll fix it and provide a driverupdate.
Well, it restored the image this time (*lots* faster :-) )
okay, thanks.
Hummm.; I've copied my sled autoyast and removed some sled specific stuff from it, and added the imaging directives. The imaging works well, but there are none of the scripts have ran, and there are scripts in /var/adm/autoinstall/scripts.
Everything other than software installation should work the same way using the image tag shouldn't it ?
On Friday 12 January 2007 16:27, Simon Crute wrote:
The imaging works well, but there are none of the scripts have ran, and there are scripts in /var/adm/autoinstall/scripts.
Everything other than software installation should work the same way using the image tag shouldn't it ?
yes, everything should work like without the image installation. Scripts are working fine here with imaging. Can you send me your profile?
autoinstall@lists.opensuse.org