Reboot after stackscript
I tried the subshell solution
Is anyone able to successfully able to reboot from their stackscripts without having the script run over again?
Thanks for the help.
4 Replies
Why not make the call to add the private IP before booting? No rebooting necessary that way.
-Chris
I'll look into adding the IP first. If that saves me a reboot, it's a good solution.
Turns out I was adding the private IP before boot OK. But I was using "service networking restart" which doesn't work on the Ubuntu boxes I'm creating. I changed it to use "/etc/init.d/networking restart", which complains but seems to actually bring up my aliases.
Off to test. Thanks for the advice.