Shutdown of node : how VM is shutdown ?

Ernie95

Member
Sep 1, 2025
48
3
8
Hi All,

If we shutdown the pve node which contains containers and VMs, which command is done for shutdown containers and VM ?

Is it shutdown -p now ?

Thanks
 
  • Like
Reactions: UdoB
Thanks. But I would like to know the command that proxmox send to the container and VM for shutdown the container and VM.

Edit : thanks croit for LXC.
 
Last edited:
For VMs it depends on whether QEMU Guest Agent setting is enabled. If so then a shutdown signal is send to the Guest Agent inside the VM (which better be running otherwise nothing happens, or the VM is killed hard eventually). Otherwise, an ACPI event is send (and you need to have booted an operating system that responds to them, or the VM is killed hard eventually).