[opensuse-autoinstall] Hi Guys
![](https://seccdn.libravatar.org/avatar/32cdee98640c7ccb31ba7d896a4cbc7b.jpg?s=120&d=mm&r=g)
Hi Guys This is my start of a post script which will be followed by an init script but I have fallen at the first hurdle. The Likewis files are not copied because the mount command does not work. Any ideas? <scripts> <post-scripts config:type="list"> <script> <filename>post.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh echo "Running Post-install script" ### create release file touch /etc/uop-release ### enter latest release number echo "1.0" >> /etc/uop-release ### start network /etc/init.d/network restart /etc/init.d/portmap restart ### make mount point and mount folders mkdir /mnt/uop mount xxx.xxx.xxx.xxx:/data/suse11132 /mnt/uop mkdir /uop cp -R /mnt/uop/nfsexports/Likewise* /uop umount /mnt/uop ]]></source> </script> </post-scripts> Regards John Drury MBE IS Support Lion Gate Building Lion Gate Portsmouth PO1 3DJ 023 9284 2235 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/c74088d7be5a0153f6b870380d9d9ef6.jpg?s=120&d=mm&r=g)
On 11/17/09 7:00 AM, "John Drury" <John.Drury@port.ac.uk> wrote:
This is my start of a post script which will be followed by an init script but I have fallen at the first hurdle. The Likewis files are not copied because the mount command does not work.
Did you get anything vaguely helpful in the log file ? ( /var/adm/autoinstall/logs/... ) Are you doing a network based autoyast? If so, out of curiosity, why are you restarting the network? you should have a functional network connection at that point. Do you know that you have the IP that you expected and that the server is exporting to that IP permitting access? Tim -- Tim Kirby 651-605-9074 trk@cray.com Cray Inc. Information Systems -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
John Drury
-
Tim Kirby