From c547e2e903880a65b20c8403b98bfe7684bc4cf0 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 25 Jul 2025 19:00:05 +0300 Subject: [PATCH] qm*: add aliases (#17367) --- pages/linux/qm-cleanup.md | 2 +- pages/linux/qm-cloudinit-dump.md | 2 +- pages/linux/qm-config.md | 6 +++--- pages/linux/qm-create.md | 10 +++++----- pages/linux/qm-delsnapshot.md | 4 ++-- pages/linux/qm-destroy.md | 8 ++++---- pages/linux/qm-disk-import.md | 2 +- pages/linux/qm-disk-move.md | 4 ++-- pages/linux/qm-disk-resize.md | 2 +- pages/linux/qm-guest-cmd.md | 2 +- pages/linux/qm-guest-exec-status.md | 2 +- pages/linux/qm-guest-exec.md | 8 ++++---- pages/linux/qm-guest-passwd.md | 4 ++-- pages/linux/qm-help.md | 4 ++-- pages/linux/qm-listsnapshot.md | 2 +- pages/linux/qm-migrate.md | 10 +++++----- pages/linux/qm-monitor.md | 2 +- pages/linux/qm-mtunnel.md | 2 +- pages/linux/qm-nbdstop.md | 2 +- pages/linux/qm-pending.md | 2 +- pages/linux/qm-reboot.md | 4 ++-- pages/linux/qm-resume.md | 4 ++-- pages/linux/qm-rollback.md | 2 +- pages/linux/qm-sendkey.md | 4 ++-- pages/linux/qm-showcmd.md | 6 +++--- pages/linux/qm-shutdown.md | 10 +++++----- pages/linux/qm-snapshot.md | 6 +++--- pages/linux/qm-status.md | 4 ++-- pages/linux/qm-suspend.md | 6 +++--- pages/linux/qm-template.md | 2 +- pages/linux/qm-unlock.md | 2 +- pages/linux/qm-vncproxy.md | 2 +- pages/linux/qm-wait.md | 6 +++--- pages/linux/qm.md | 8 ++++---- 34 files changed, 73 insertions(+), 73 deletions(-) diff --git a/pages/linux/qm-cleanup.md b/pages/linux/qm-cleanup.md index 88067b107f..d9834b361c 100644 --- a/pages/linux/qm-cleanup.md +++ b/pages/linux/qm-cleanup.md @@ -6,4 +6,4 @@ - Clean up resources: -`qm cleanup {{vm_id}} {{clean-shutdown}} {{guest-requested}}` +`qm {{[cl|cleanup]}} {{vm_id}} {{clean-shutdown}} {{guest-requested}}` diff --git a/pages/linux/qm-cloudinit-dump.md b/pages/linux/qm-cloudinit-dump.md index e6b3e561cb..97de0b6c72 100644 --- a/pages/linux/qm-cloudinit-dump.md +++ b/pages/linux/qm-cloudinit-dump.md @@ -5,4 +5,4 @@ - Generate a cloudinit file for a specific configuration type: -`qm cloudinit dump {{virtual_machine_id}} {{meta|network|user}}` +`qm {{[clou|cloudinit]}} dump {{virtual_machine_id}} {{meta|network|user}}` diff --git a/pages/linux/qm-config.md b/pages/linux/qm-config.md index 2a320f0a36..40dd1eaa9a 100644 --- a/pages/linux/qm-config.md +++ b/pages/linux/qm-config.md @@ -5,12 +5,12 @@ - Display the virtual machine configuration: -`qm config {{vm_id}}` +`qm {{[co|config]}} {{vm_id}}` - Display the current configuration values instead of pending values for the virtual machine: -`qm config --current {{true}} {{vm_id}}` +`qm {{[co|config]}} --current {{true}} {{vm_id}}` - Fetch the configuration values from the given snapshot: -`qm config --snapshot {{snapshot_name}} {{vm_id}}` +`qm {{[co|config]}} --snapshot {{snapshot_name}} {{vm_id}}` diff --git a/pages/linux/qm-create.md b/pages/linux/qm-create.md index a17d4bf3d1..a0d247fcf1 100644 --- a/pages/linux/qm-create.md +++ b/pages/linux/qm-create.md @@ -5,20 +5,20 @@ - Create a virtual machine: -`qm create {{100}}` +`qm {{[cr|create]}} {{100}}` - Automatically start the machine after creation: -`qm create {{100}} --start 1` +`qm {{[cr|create]}} {{100}} --start 1` - Specify the type of operating system on the machine: -`qm create {{100}} --ostype {{win10}}` +`qm {{[cr|create]}} {{100}} --ostype {{win10}}` - Replace an existing machine (requires archiving it): -`qm create {{100}} --archive {{path/to/backup_file.tar}} --force 1` +`qm {{[cr|create]}} {{100}} --archive {{path/to/backup_file.tar}} --force 1` - Specify a script that is executed automatically depending on the state of the virtual machine: -`qm create {{100}} --hookscript {{path/to/script.pl}}` +`qm {{[cr|create]}} {{100}} --hookscript {{path/to/script.pl}}` diff --git a/pages/linux/qm-delsnapshot.md b/pages/linux/qm-delsnapshot.md index 5e64974caa..18e27d77fe 100644 --- a/pages/linux/qm-delsnapshot.md +++ b/pages/linux/qm-delsnapshot.md @@ -5,8 +5,8 @@ - Delete a snapshot: -`qm delsnapshot {{vm_id}} {{snapshot_name}}` +`qm {{[del|delsnapshot]}} {{vm_id}} {{snapshot_name}}` - Delete a snapshot from a configuration file (even if removing the disk snapshot fails): -`qm delsnapshot {{vm_id}} {{snapshot_name}} --force 1` +`qm {{[del|delsnapshot]}} {{vm_id}} {{snapshot_name}} --force 1` diff --git a/pages/linux/qm-destroy.md b/pages/linux/qm-destroy.md index 0ab67546f4..e02b2bb5db 100644 --- a/pages/linux/qm-destroy.md +++ b/pages/linux/qm-destroy.md @@ -5,16 +5,16 @@ - Destroy a specific virtual machine: -`qm destroy {{vm_id}}` +`qm {{[des|destroy]}} {{vm_id}}` - Destroy all disks that are not explicitly referenced in a specific virtual machine's configuration: -`qm destroy {{vm_id}} --destroy-unreferenced-disks` +`qm {{[des|destroy]}} {{vm_id}} --destroy-unreferenced-disks` - Destroy a virtual machine and remove from all locations (inventory, backup jobs, high availability managers, etc.): -`qm destroy {{vm_id}} --purge` +`qm {{[des|destroy]}} {{vm_id}} --purge` - Destroy a specific virtual machine ignoring locks and forcing destroy: -`sudo qm destroy {{vm_id}} --skiplock` +`sudo qm {{[des|destroy]}} {{vm_id}} --skiplock` diff --git a/pages/linux/qm-disk-import.md b/pages/linux/qm-disk-import.md index d95ecd5ace..959d983ea9 100644 --- a/pages/linux/qm-disk-import.md +++ b/pages/linux/qm-disk-import.md @@ -6,4 +6,4 @@ - Import a VMDK/qcow2/raw disk image using a specific storage name: -`qm disk import {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}` +`qm {{[di|disk]}} import {{vm_id}} {{path/to/disk}} {{storage_name}} --format {{qcow2|raw|vmdk}}` diff --git a/pages/linux/qm-disk-move.md b/pages/linux/qm-disk-move.md index 73a04197fa..da2e35e1ed 100644 --- a/pages/linux/qm-disk-move.md +++ b/pages/linux/qm-disk-move.md @@ -5,8 +5,8 @@ - Move a virtual disk: -`qm disk move {{vm_id}} {{destination}} {{index}}` +`qm {{[di|disk]}} move {{vm_id}} {{destination}} {{index}}` - Delete the previous copy of the virtual disk: -`qm disk move -delete {{vm_id}} {{destination}} {{index}}` +`qm {{[di|disk]}} move -delete {{vm_id}} {{destination}} {{index}}` diff --git a/pages/linux/qm-disk-resize.md b/pages/linux/qm-disk-resize.md index a28b344ca0..997ae3cf46 100644 --- a/pages/linux/qm-disk-resize.md +++ b/pages/linux/qm-disk-resize.md @@ -5,4 +5,4 @@ - Add `n` gigabytes to a virtual disk: -`qm disk resize {{vm_id}} {{disk_name}} +{{n}}G` +`qm {{[di|disk]}} resize {{vm_id}} {{disk_name}} +{{n}}G` diff --git a/pages/linux/qm-guest-cmd.md b/pages/linux/qm-guest-cmd.md index 6e22369655..5c88f61949 100644 --- a/pages/linux/qm-guest-cmd.md +++ b/pages/linux/qm-guest-cmd.md @@ -5,4 +5,4 @@ - Execute a specific QEMU Guest Agent command: -`qm guest cmd {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` +`qm {{[g|guest]}} cmd {{virtual_machine_id}} {{fsfreeze-freeze|fsfreeze-status|fsfreeze-thaw|fstrim|get-fsinfo|...}}` diff --git a/pages/linux/qm-guest-exec-status.md b/pages/linux/qm-guest-exec-status.md index 275166395f..76d44442d8 100644 --- a/pages/linux/qm-guest-exec-status.md +++ b/pages/linux/qm-guest-exec-status.md @@ -5,4 +5,4 @@ - Print the status of a specific PID: -`qm guest exec-status {{vm_id}} {{pid}}` +`qm {{[g|guest]}} exec-status {{vm_id}} {{pid}}` diff --git a/pages/linux/qm-guest-exec.md b/pages/linux/qm-guest-exec.md index dbb8603660..d6d4a86d49 100644 --- a/pages/linux/qm-guest-exec.md +++ b/pages/linux/qm-guest-exec.md @@ -5,16 +5,16 @@ - Execute a specific command via a guest agent: -`qm guest exec {{vm_id}} {{command}} {{argument1 argument2 ...}}` +`qm {{[g|guest]}} exec {{vm_id}} {{command}} {{argument1 argument2 ...}}` - Execute a specific command via a guest agent asynchronously: -`qm guest exec {{vm_id}} {{argument1 argument2 ...}} --synchronous 0` +`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2 ...}} --synchronous 0` - Execute a specific command via a guest agent with a specified timeout of 10 seconds: -`qm guest exec {{vm_id}} {{argument1 argument2...}} --timeout {{10}}` +`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2...}} --timeout {{10}}` - Execute a specific command via a guest agent and forward input from `stdin` until EOF to the guest agent: -`qm guest exec {{vm_id}} {{argument1 argument2 ...}} --pass-stdin 1` +`qm {{[g|guest]}} exec {{vm_id}} {{argument1 argument2 ...}} --pass-stdin 1` diff --git a/pages/linux/qm-guest-passwd.md b/pages/linux/qm-guest-passwd.md index 7879934cbc..d358c26af2 100644 --- a/pages/linux/qm-guest-passwd.md +++ b/pages/linux/qm-guest-passwd.md @@ -5,8 +5,8 @@ - Set a password for a specific user in a virtual machine interactively: -`qm guest passwd {{vm_id}} {{username}}` +`qm {{[g|guest]}} passwd {{vm_id}} {{username}}` - Set an already hashed password for a specific user in a virtual machine interactively: -`qm guest passwd {{vm_id}} {{username}} --crypted 1` +`qm {{[g|guest]}} passwd {{vm_id}} {{username}} --crypted 1` diff --git a/pages/linux/qm-help.md b/pages/linux/qm-help.md index 1d12b92978..595374a90c 100644 --- a/pages/linux/qm-help.md +++ b/pages/linux/qm-help.md @@ -5,8 +5,8 @@ - Display help for a specific command: -`qm help {{command}}` +`qm {{[h|help]}} {{command}}` - Display help for a specific command with detailed information: -`qm help {{command}} --verbose {{true|false}}` +`qm {{[h|help]}} {{command}} --verbose {{true|false}}` diff --git a/pages/linux/qm-listsnapshot.md b/pages/linux/qm-listsnapshot.md index a7343179cb..f126cc95a4 100644 --- a/pages/linux/qm-listsnapshot.md +++ b/pages/linux/qm-listsnapshot.md @@ -5,4 +5,4 @@ - List all snapshots of a specific virtual machine: -`qm listsnapshot {{vm_id}}` +`qm {{[lists|listsnapshot]}} {{vm_id}}` diff --git a/pages/linux/qm-migrate.md b/pages/linux/qm-migrate.md index a61799ded6..2de6d05aa9 100644 --- a/pages/linux/qm-migrate.md +++ b/pages/linux/qm-migrate.md @@ -6,20 +6,20 @@ - Migrate a specific virtual machine: -`qm migrate {{vm_id}} {{target}}` +`qm {{[mi|migrate]}} {{vm_id}} {{target}}` - Override the current I/O bandwidth limit with 10 KiB/s: -`qm migrate {{vm_id}} {{target}} --bwlimit 10` +`qm {{[mi|migrate]}} {{vm_id}} {{target}} --bwlimit 10` - Allow migration of virtual machines using local devices (root only): -`qm migrate {{vm_id}} {{target}} --force true` +`qm {{[mi|migrate]}} {{vm_id}} {{target}} --force true` - Use online/live migration if a virtual machine is running: -`qm migrate {{vm_id}} {{target}} --online true` +`qm {{[mi|migrate]}} {{vm_id}} {{target}} --online true` - Enable live storage migration for local disks: -`qm migrate {{vm_id}} {{target}} --with-local-disks true` +`qm {{[mi|migrate]}} {{vm_id}} {{target}} --with-local-disks true` diff --git a/pages/linux/qm-monitor.md b/pages/linux/qm-monitor.md index 379f3ea486..6eee380d23 100644 --- a/pages/linux/qm-monitor.md +++ b/pages/linux/qm-monitor.md @@ -5,4 +5,4 @@ - Enter the QEMU Monitor interface of a specific virtual machine: -`qm monitor {{vm_id}}` +`qm {{[mo|monitor]}} {{vm_id}}` diff --git a/pages/linux/qm-mtunnel.md b/pages/linux/qm-mtunnel.md index 6445578aee..33d00ebed6 100644 --- a/pages/linux/qm-mtunnel.md +++ b/pages/linux/qm-mtunnel.md @@ -6,4 +6,4 @@ - Command used by `qmigrate` during data migration from a VM to another host: -`qm mtunnel` +`qm {{[mt|mtunnel]}}` diff --git a/pages/linux/qm-nbdstop.md b/pages/linux/qm-nbdstop.md index 54c4eafcc0..71329ce816 100644 --- a/pages/linux/qm-nbdstop.md +++ b/pages/linux/qm-nbdstop.md @@ -5,4 +5,4 @@ - Stop embedded nbd server: -`qm nbdstop {{VM_ID}}` +`qm {{[n|nbdstop]}} {{VM_ID}}` diff --git a/pages/linux/qm-pending.md b/pages/linux/qm-pending.md index d6186bde6b..57e2761dec 100644 --- a/pages/linux/qm-pending.md +++ b/pages/linux/qm-pending.md @@ -5,4 +5,4 @@ - Get the virtual machine configuration of a specific virtual machine: -`qm pending {{vm_id}}` +`qm {{[p|pending]}} {{vm_id}}` diff --git a/pages/linux/qm-reboot.md b/pages/linux/qm-reboot.md index d1c1b876ef..9bbd189f6f 100644 --- a/pages/linux/qm-reboot.md +++ b/pages/linux/qm-reboot.md @@ -5,8 +5,8 @@ - Reboot a virtual machine: -`qm reboot {{vm_id}}` +`qm {{[reb|reboot]}} {{vm_id}}` - Reboot a virtual machine after wait for at most 10 seconds: -`qm reboot --timeout {{10}} {{vm_id}}` +`qm {{[reb|reboot]}} --timeout {{10}} {{vm_id}}` diff --git a/pages/linux/qm-resume.md b/pages/linux/qm-resume.md index 049f62f5c1..262c15fa15 100644 --- a/pages/linux/qm-resume.md +++ b/pages/linux/qm-resume.md @@ -5,8 +5,8 @@ - Resume a specific virtual machine: -`qm resume {{vm_id}}` +`qm {{[resu|resume]}} {{vm_id}}` - Resume a specific virtual machine ignoring locks (requires root): -`sudo qm resume {{vm_id}} --skiplock true` +`sudo qm {{[resu|resume]}} {{vm_id}} --skiplock true` diff --git a/pages/linux/qm-rollback.md b/pages/linux/qm-rollback.md index bea67a373b..6eae52685f 100644 --- a/pages/linux/qm-rollback.md +++ b/pages/linux/qm-rollback.md @@ -5,4 +5,4 @@ - Rollback the state of a specific VM to a specified snapshot: -`qm rollback {{vm_id}} {{snap_name}}` +`qm {{[ro|rollback]}} {{vm_id}} {{snap_name}}` diff --git a/pages/linux/qm-sendkey.md b/pages/linux/qm-sendkey.md index de220e6a02..9e8373c03e 100644 --- a/pages/linux/qm-sendkey.md +++ b/pages/linux/qm-sendkey.md @@ -5,8 +5,8 @@ - Send the specified key event to a specific virtual machine: -`qm sendkey {{vm_id}} {{key}}` +`qm {{[sen|sendkey]}} {{vm_id}} {{key}}` - Allow root user to send key event and ignore locks: -`qm sendkey --skiplock {{true}} {{vm_id}} {{key}}` +`qm {{[sen|sendkey]}} --skiplock {{true}} {{vm_id}} {{key}}` diff --git a/pages/linux/qm-showcmd.md b/pages/linux/qm-showcmd.md index 70cba7176f..3769c8ea86 100644 --- a/pages/linux/qm-showcmd.md +++ b/pages/linux/qm-showcmd.md @@ -5,12 +5,12 @@ - Show command-line for a specific virtual machine: -`qm showcmd {{vm_id}}` +`qm {{[sho|showcmd]}} {{vm_id}}` - Put each option on a new line to enhance human readability: -`qm showcmd --pretty {{true}} {{vm_id}}` +`qm {{[sho|showcmd]}} --pretty {{true}} {{vm_id}}` - Fetch configuration values from a specific snapshot: -`qm showcmd --snapshot {{string}} {{vm_id}}` +`qm {{[sho|showcmd]}} --snapshot {{string}} {{vm_id}}` diff --git a/pages/linux/qm-shutdown.md b/pages/linux/qm-shutdown.md index 9410568019..b79594d30d 100644 --- a/pages/linux/qm-shutdown.md +++ b/pages/linux/qm-shutdown.md @@ -5,20 +5,20 @@ - Shutdown a virtual machine: -`qm shutdown {{VM_ID}}` +`qm {{[shu|shutdown]}} {{VM_ID}}` - Shutdown a virtual machine after wait for at most 10 seconds: -`qm shutdown --timeout {{10}} {{VM_ID}}` +`qm {{[shu|shutdown]}} --timeout {{10}} {{VM_ID}}` - Shutdown a virtual machine and do not deactivate storage volumes: -`qm shutdown --keepActive {{true}} {{VM_ID}}` +`qm {{[shu|shutdown]}} --keepActive {{true}} {{VM_ID}}` - Shutdown a virtual machine and skip lock (only root can use this option): -`qm shutdown --skiplock {{true}} {{VM_ID}}` +`qm {{[shu|shutdown]}} --skiplock {{true}} {{VM_ID}}` - Stop and shutdown a virtual machine: -`qm shutdown --forceStop {{true}} {{VM_ID}}` +`qm {{[shu|shutdown]}} --forceStop {{true}} {{VM_ID}}` diff --git a/pages/linux/qm-snapshot.md b/pages/linux/qm-snapshot.md index 1329a4ea12..45c561217a 100644 --- a/pages/linux/qm-snapshot.md +++ b/pages/linux/qm-snapshot.md @@ -5,12 +5,12 @@ - Create a snapshot of a specific virtual machine: -`qm snapshot {{vm_id}} {{snapshot_name}}` +`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}}` - Create a snapshot with a specific description: -`qm snapshot {{vm_id}} {{snapshot_name}} --description {{description}}` +`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}} --description {{description}}` - Create a snapshot including the vmstate: -`qm snapshot {{vm_id}} {{snapshot_name}} --description {{description}} --vmstate 1` +`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}} --description {{description}} --vmstate 1` diff --git a/pages/linux/qm-status.md b/pages/linux/qm-status.md index d89ed296b4..f52c46e750 100644 --- a/pages/linux/qm-status.md +++ b/pages/linux/qm-status.md @@ -5,8 +5,8 @@ - Display the status of a specific virtual machine: -`qm status {{vm_id}}` +`qm {{[stat|status]}} {{vm_id}}` - Display detailed status of a specific virtual machine: -`qm status --verbose {{true}} {{vm_id}}` +`qm {{[stat|status]}} --verbose {{true}} {{vm_id}}` diff --git a/pages/linux/qm-suspend.md b/pages/linux/qm-suspend.md index c4fd707d54..bdfd7885eb 100644 --- a/pages/linux/qm-suspend.md +++ b/pages/linux/qm-suspend.md @@ -6,12 +6,12 @@ - Suspend a virtual machine by ID: -`qm suspend {{vm_id}} {{integer}}` +`qm {{[su|suspend]}} {{vm_id}} {{integer}}` - Skip the lock check when suspending the VM: -`qm suspend {{vm_id}} {{integer}} --skiplock` +`qm {{[su|suspend]}} {{vm_id}} {{integer}} --skiplock` - Skip the lock check for storage when suspending the VM: -`qm suspend {{vm_id}} {{integer}} --skiplockstorage` +`qm {{[su|suspend]}} {{vm_id}} {{integer}} --skiplockstorage` diff --git a/pages/linux/qm-template.md b/pages/linux/qm-template.md index c8d51fbb3d..4d5e011c27 100644 --- a/pages/linux/qm-template.md +++ b/pages/linux/qm-template.md @@ -5,4 +5,4 @@ - Create a template out of a specific virtual machine: -`qm template {{vm_id}}` +`qm {{[tem|template]}} {{vm_id}}` diff --git a/pages/linux/qm-unlock.md b/pages/linux/qm-unlock.md index f3b15ae580..3cfa909b34 100644 --- a/pages/linux/qm-unlock.md +++ b/pages/linux/qm-unlock.md @@ -5,4 +5,4 @@ - Unlock a specific virtual machine: -`qm unlock {{vm_id}}` +`qm {{[u|unlock]}} {{vm_id}}` diff --git a/pages/linux/qm-vncproxy.md b/pages/linux/qm-vncproxy.md index 0da99b4ba0..276c2c15b3 100644 --- a/pages/linux/qm-vncproxy.md +++ b/pages/linux/qm-vncproxy.md @@ -5,4 +5,4 @@ - Proxy a specific virtual machine: -`qm vncproxy {{vm_id}}` +`qm {{[v|vncproxy]}} {{vm_id}}` diff --git a/pages/linux/qm-wait.md b/pages/linux/qm-wait.md index d83b793ebb..c1c7b2cc0a 100644 --- a/pages/linux/qm-wait.md +++ b/pages/linux/qm-wait.md @@ -5,12 +5,12 @@ - Wait until the virtual machine is stopped: -`qm wait {{vm_id}}` +`qm {{[w|wait]}} {{vm_id}}` - Wait until the virtual machine is stopped with a 10 second timeout: -`qm wait --timeout {{10}} {{vm_id}}` +`qm {{[w|wait]}} --timeout {{10}} {{vm_id}}` - Send a shutdown request, then wait until the virtual machine is stopped with a 10 second timeout: -`qm shutdown {{vm_id}} && qm wait --timeout {{10}} {{vm_id}}` +`qm {{[shu|shutdown]}} {{vm_id}} && qm {{[w|wait]}} --timeout {{10}} {{vm_id}}` diff --git a/pages/linux/qm.md b/pages/linux/qm.md index 2fd818452b..4e4746ce67 100644 --- a/pages/linux/qm.md +++ b/pages/linux/qm.md @@ -10,11 +10,11 @@ - Using an ISO file uploaded on the local storage, create a virtual machine with a 4 GB IDE disk on the `local-lvm` storage and an ID of 100: -`qm create {{100}} -ide0 {{local-lvm:4}} -net0 {{e1000}} -cdrom {{local:iso/proxmox-mailgateway_2.1.iso}}` +`qm {{[cr|create]}} {{100}} -ide0 {{local-lvm:4}} -net0 {{e1000}} -cdrom {{local:iso/proxmox-mailgateway_2.1.iso}}` - Show the configuration of a virtual machine, specifying its ID: -`qm config {{100}}` +`qm {{[co|config]}} {{100}}` - Start a specific virtual machine: @@ -22,8 +22,8 @@ - Send a shutdown request, then wait until the virtual machine is stopped: -`qm shutdown {{100}} && qm wait {{100}}` +`qm {{[shu|shutdown]}} {{100}} && qm {{[w|wait]}} {{100}}` - Destroy a virtual machine and remove all related resources: -`qm destroy {{100}} --purge` +`qm {{[des|destroy]}} {{100}} --purge`