[pve-devel] [PATCH docs] Update the qm command line example to use the new volume format

Emmanuel Kasper e.kasper at proxmox.com
Thu Oct 13 15:45:26 CEST 2016


Also since the command line is now longer, move the NIC creation
to a separate command.
---
 qm.adoc | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/qm.adoc b/qm.adoc
index a0b6950..3624e2f 100644
--- a/qm.adoc
+++ b/qm.adoc
@@ -476,9 +476,16 @@ create and delete virtual disks.
 CLI Usage Examples
 ~~~~~~~~~~~~~~~~~~
 
-Create a new VM with 4 GB IDE disk.
+If using the Proxmox VE Installation CD-ROM you chose a LVM setup, you will have
+a *local* storage for iso and backups, and a *local-lvm* storage for disk
+images. After uploading an ISO file on the *local* storage, you can create 
+a VM with 4GB IDE disk with
 
- qm create 300 -ide0 4 -net0 e1000 -cdrom proxmox-mailgateway_2.1.iso
+ qm create 300 -ide0 local-lvm:4 -ide2 local:iso/proxmox-mailgateway_4.0-7.iso,media=cdrom
+
+Add a network card to the VM
+
+ qm set -net0 e1000
 
 Start the new VM
 
-- 
2.1.4





More information about the pve-devel mailing list