I have a python script that launches Linodes using the API and StackScripts. Since I'm adding a private IP to the linodes, they need to be rebooted to work properly. I can't seem to reboot my linodes through the stackscript though.
I tried the
subshell solution listed on this forum but it didn't work for me. The stackscript completes fine and then just drops to a prompt. I have a feeling the completed stackscript is also killing off the restart process that's been backgrounded.
Is anyone able to successfully able to reboot from their stackscripts without having the script run over again?
Thanks for the help.