Hi,

reboot is working inside containers but you need add cron job
*/2 * * * * root /usr/share/vzctl/scripts/vpsreboot

this script do start rebooted containers.

On Wednesday 13 April 2011 12:16:52 Benjamin Henrion wrote:
> Hi,
> 
> I found out that typing "reboot" in a container halts the whole
> container, making it unreacheable (the container itself is not running
> anymore, checking with vzlist on the physical machine).
> 
> Any idea if there is another command that kills all the processes and
> restart the container from within a root shell on the container (yes I
> know that you can do that with 'vzctl restart CTID' on the HN)?
> 
> Best,
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to