qm Verified current stable Not installed? Programming

Qm / Create Virtual Machine With Hook Script

Create Virtual Machine With Hook Script

Qm command syntax to create virtual machine with hook script. Copyable examples, output expectations, and common mistakes.

$
Terminal
qm cr <100> --hookscript <path/to/script.pl>

Command Breakdown

What each part is doing

qm
Base Command
The executable that performs this operation. Here it runs Qm before the shell applies any redirect operators.
cr
cr|create
The value supplied for cr|create.
<100>
100
The value supplied for 100.
<path/to/script.pl>
path to script.pl
The value supplied for path to script.pl.
--hookscript
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative programming tools for the same job.