@@ -82,10 +82,11 @@ documentation on for cloud-init.
8282
8383` create-vm ` stores files as follows:
8484
85- * ` ${HOME}/vms/base/ ` - Place to store your base Linux cloud images.
86- * ` ${HOME}/vms/images/ ` - ` your-vm-name.img ` and ` your-vm-name-cidata.img ` files.
87- * ` ${HOME}/vms/init/ ` - ` user-data ` and ` meta-data ` .
88- * ` ${HOME}/vms/xml/ ` - Backup copies of your VMs' XML definition files.
85+ * ` ${VM_IMAGE_DIR} ` - Directory used for for VM storage. Defaults to ` ${HOME}/vms ` .
86+ * ` ${VM_IMAGE_DIR}/base/ ` - Place to store your base Linux cloud images.
87+ * ` ${VM_IMAGE_DIR}/images/ ` - ` your-vm-name.img ` and ` your-vm-name-cidata.img ` files.
88+ * ` ${VM_IMAGE_DIR}/init/ ` - ` user-data ` and ` meta-data ` .
89+ * ` ${VM_IMAGE_DIR}/xml/ ` - Backup copies of your VMs' XML definition files.
8990
9091QCOW2 filesystems allocate space as needed, so if you create a VM with 100GB of storage, the initial
9192size of the ` your-vm-name.img ` and ` your-vm-name-cidata.img ` files is only about ** 700K total** . The
@@ -128,8 +129,8 @@ If you're not using Ansible just `apt-get install` the above packages.
128129## Permissions
129130
130131The ` libvirtd ` daemon runs under the ` libvirt-qemu ` user service account. The ` libvirt-qemu ` user
131- must be able to read the files in ` ${HOME}/vms/ ` . If your ${HOME} directory has permissions set to
132- ` 0x750 ` then ` libvirt-qemu ` won't be able to read the ` ${HOME}/vms/ ` directory.
132+ must be able to read the files in ` ${VM_IMAGE_DIR} ` . If your ${HOME} directory has permissions set to
133+ ` 0x750 ` then ` libvirt-qemu ` won't be able to read the ` ${VM_IMAGE_DIR} ` directory.
133134
134135You could open up your home directory, e.g.:
135136
0 commit comments