What's the correct way to reboot a host from CLI

Hendrik

New Member
Aug 6, 2016
5
0
1
44
Hi everyone

I just wanted to ask if there is a way to reboot a host from CLI so that it waits for the containers and VMs to be shutdown first. When I execute a simple reboot command it doesn't seem to wait for the containers/VMs while when issuing the reboot from the webconsole it does wait.

Thx for your help.
 
When I execute a simple reboot command it doesn't seem to wait for the containers/VMs while when issuing the reboot from the webconsole it does wait.

This works for me. The web console also simply issues a reboot command, so this should have exactly the same behavior.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!