]> git.proxmox.com Git - pve-docs.git/commitdiff
Reformat qm documentation to make it similar to pct
authorEmmanuel Kasper <e.kasper@proxmox.com>
Mon, 23 May 2016 09:41:15 +0000 (11:41 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 23 May 2016 14:58:43 +0000 (16:58 +0200)
qm.adoc

diff --git a/qm.adoc b/qm.adoc
index 14de2d14ce63bcfc38a35158fd3da5e89f0f2ff7..b1989c0724ad2f00347a0714811df4d30cf0b2ba 100644 (file)
--- a/qm.adoc
+++ b/qm.adoc
@@ -24,13 +24,34 @@ Qemu/KVM Virtual Machines
 include::attributes.txt[]
 endif::manvolnum[]
 
+Managing Virtual Machines with 'qm'
+------------------------------------
 
-qm is a script to manage virtual machines with Qemu/Kvm. You can
+qm is the tool to manage Qemu/Kvm virtual machines on {pve}. You can
 create and destroy virtual machines, and control execution
 (start/stop/suspend/resume). Besides that, you can use qm to set
 parameters in the associated config file. It is also possible to
 create and delete virtual disks.
 
+CLI Usage Examples
+~~~~~~~~~~~~~~~~~~
+
+Create a new VM with 4 GB IDE disk.
+
+ qm create 300 -ide0 4 -net0 e1000 -cdrom proxmox-mailgateway_2.1.iso
+
+Start the new VM
+
+ qm start 300
+
+Send a shutdown request, then wait until the VM is stopped.
+
+ qm shutdown 300 && qm wait 300
+
+Same as above, but only wait for 40 seconds.
+
+ qm shutdown 300 && qm wait 300 -timeout 40
+
 Configuration
 -------------
 
@@ -56,25 +77,6 @@ lock manually (e.g., after a power failure).
 
  qm unlock <vmid>
 
-Examples
---------
-
-Create a new VM with 4 GB IDE disk.
-
- qm create 300 -ide0 4 -net0 e1000 -cdrom proxmox-mailgateway_2.1.iso
-
-Start the new VM
-
- qm start 300
-
-Send a shutdown request, then wait until the VM is stopped.
-
- qm shutdown 300 && qm wait 300
-
-Same as above, but only wait for 40 seconds.
-
- qm shutdown 300 && qm wait 300 -timeout 40
-
 
 ifdef::manvolnum[]
 include::pve-copyright.adoc[]