Forrest logo
back to the qm tool

qm-reboot:tldr:dfded

qm-reboot: Reboot a virtual machine after wait for at most 10 seconds.
$ qm reboot --timeout ${10} ${vm_id}
try on your machine

This command is used to reboot a virtual machine (VM) using the qm command-line tool. Here is a breakdown of the different components of the command:

  • qm: It refers to the qm command-line tool, which is used to manage (start, stop, configure, etc.) virtual machines in Proxmox VE, an open-source virtualization platform.

  • reboot: It is the specific action or command that is being executed, indicating to reboot the VM.

  • --timeout ${10}: It sets a timeout for the reboot action. The value 10 inside ${} represents a variable, which can be replaced with the desired timeout in seconds.

  • ${vm_id}: It represents the ID or name of the virtual machine on which the reboot action will be performed. The ${} notation again suggests that a variable is being used here, and it should be substituted with the VM's ID or name.

Overall, the command instructs the qm tool to reboot a virtual machine identified by ${vm_id}, specifying a timeout duration of ${10} seconds for the reboot process.

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