I am instanciating a machine on the cloud with a startup shell script (on ubuntu) which basically download some config files and run a python script. I would like to include some kind of security on the startup script which should reboot the machine 10 minutes after the startupscript started, and which is totally independent from what the startupscript is executing.
What would be a very clean way to do so?