Here is my plan:
run ks.cfg, then in the post config section,
1) execute a script that lives on the NFS server.
2) untar a tarball that lives on that same NFS server
I see that the source mount point is /mnt/source and
I see that the systems mount point is /mnt/sysimage
First I want to fire off my script, but this is not working:
'source /mnt/source/postInstallScript'
neither is this:
'open -s -w -- /mnt/source/postInstallScript'
Second, the post section tries to explode the tarball, but again, it's not working:
I want to expand it in /usr/local and it's tared relative to / so I do a
'cd /mnt/sysimage ; tar xzvf /mnt/source/serverdistro.tgz'
But again this is not working.
Any ideas??? Thanks!!
-- Ryan
Here is a copy of my %post section:
####
%post --interpreter /bin/bash
##
# execute the postConfig file
open -s -w -- /mnt/source/postInstallScript
##
# copy the f5Tarballs to the /tmp directory, unpack!
cd /mnt/sysimage
tar zxvf /mnt/source/f5packages.tgz >> /var/log/f5serverInstall
echo "Post install script completed!" >> /var/log/f5serverInstall
echo >> /var/log/f5serverInstall
Ryan Allen
Senior Test Engineer
F5 NETWORKS
desk: 206 - 272 - 6538
fax: 206 - 272 - 5585
email: r.allen@xxxxxx