Roy Butler wrote:
Leen,
I just went with creating an autoinstall post-script which creates a number of one-time-running, self-deleting, high-numbered /etc/init.d/rc3.d S scripts that run following AutoYaST's work after the first reboot. It's sort of like what I'm familiar with from our Solaris JumpStart configuration, so I'm already just about done. :)
This is a new feature in SLES9 btw ;-) We have added a new type of scripts which is run during the boot process. Anas
Thanks, Roy
Leendert Meyer wrote:
On Thursday 03 June 2004 22:06, Roy Butler wrote:
Leen,
Yeah, that describes the process and where I've been looking.
I could have known, I overlooked the 'id'... ;)
what about (needs wget on the client):
cd /usr/local/mnt wget http://1234/scripts.tar.bz2 tar xvfj scripts.tar.bz2 for A in ...
You only need to create a tarball, and expose it on your webserver. But I guess nfs is easier because you don't have to create a tarball?
or
cd /usr/local/mnt/scripts wget -O- http://1.2.3.4/scriptlocs.txt | wget -i- chmod +x * for A in ...
The file scriptlocs.txt contains the URL's of the script and needs to be up-to-date.
or
rsync might be another option, it can download a directory with attributes conserved. You can choose to import over ssh (need to sneak in an ssh key first though...), or over the rsync port (man rsync).
Cheers,
Leen