Forrest logo
back to the qm tool

qm-reset:tldr:c8fdf

qm-reset: Reset a virtual machine.
$ qm reset ${vm_id}
try on your machine

The command "qm reset ${vm_id}" is used to reset a virtual machine (VM) in the Proxmox hypervisor environment.

Here, "qm" is the command-line tool used to manage and interact with virtual machines in Proxmox. It can be executed on the hypervisor host or through a remote SSH connection.

"reset" is the subcommand of the "qm" tool, which is used to reset the specified VM. Resetting a VM means powering off the VM and then immediately starting it up again. This action is equivalent to performing a hard restart or reboot on a physical machine.

"${vm_id}" is a placeholder for the ID of the specific virtual machine that you want to reset. In Proxmox, each VM is assigned a unique numerical ID, such as 100, 101, etc. So, to reset a particular VM, you need to replace "${vm_id}" with the actual ID of that VM. For example, "qm reset 101" would reset the VM with ID 101.

By executing this command, the specified VM will be forcibly powered off and then automatically powered back on, which can help in troubleshooting and resolving certain issues that might be occurring within the virtual machine.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the qm tool