Rebooting a Virtouzzo/OpenVZ container

If you want to reboot from inside the container, do a touch /reboot before you shutdown -r now. This will mark the container for reboot, and a cron job on the container host will power it back on after it shut down. Only when both commands are run the container will reboot correctly.