summaryrefslogtreecommitdiffstats
path: root/README_libvirt.md
diff options
context:
space:
mode:
authorPep TurrĂ³ Mauri <pep@redhat.com>2016-03-16 17:17:06 +0100
committerPep TurrĂ³ Mauri <pep@redhat.com>2016-03-16 17:21:17 +0100
commit74425eca1e738ca124ee2004ea5c7d6782ddbeb9 (patch)
tree4f01edf4e09f7fd34fc8ddd7fa27208db0a7066b /README_libvirt.md
parent4551e7cddf4a9d1756a064fd31777b6bed7d3567 (diff)
downloadopenshift-74425eca1e738ca124ee2004ea5c7d6782ddbeb9.tar.gz
openshift-74425eca1e738ca124ee2004ea5c7d6782ddbeb9.tar.bz2
openshift-74425eca1e738ca124ee2004ea5c7d6782ddbeb9.tar.xz
openshift-74425eca1e738ca124ee2004ea5c7d6782ddbeb9.zip
libvirt cluster variables cleanup
- Remove redundant variables and make existing ones configurable. - Fixes default values for the new vars introduced in #1578 (d4fa9b2) - Document these variables
Diffstat (limited to 'README_libvirt.md')
-rw-r--r--README_libvirt.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README_libvirt.md b/README_libvirt.md
index 8b46252b3..5c72eb64f 100644
--- a/README_libvirt.md
+++ b/README_libvirt.md
@@ -10,7 +10,7 @@ This makes `libvirt` useful to develop, test and debug OpenShift and openshift-a
Install dependencies
--------------------
-1. Install [ansible](http://www.ansible.com/)
+1. Install [ansible](http://www.ansible.com/)
2. Install [dnsmasq](http://www.thekelleys.org.uk/dnsmasq/doc.html)
3. Install [ebtables](http://ebtables.netfilter.org/)
4. Install [qemu and qemu-system-x86](http://wiki.qemu.org/Main_Page)
@@ -121,6 +121,11 @@ The following options can be passed via the `-o` flag of the `create` command or
* `image_name` (default to `CentOS-7-x86_64-GenericCloud.qcow2`): Name of the QCOW2 image to boot the VMs on
* `image_compression` (default to `xz`): Source QCOW2 compression (only xz supported at this time)
* `image_sha256` (default to `dd0f5e610e7c5ffacaca35ed7a78a19142a588f4543da77b61c1fb0d74400471`): Expected SHA256 checksum of the downloaded image
+* `libvirt_storage_pool` (default to `openshift-ansible`): name of the libvirt storage pool for the VM images. It will be created if it does not exist
+* `libvirt_storage_pool_path` (default to `$HOME/libvirt-storage-pool-openshift-ansible`): path to `libvirt_storage_pool`, i.e. where the VM images are stored
+* `libvirt_network` (default to `openshift-ansible`): name of the libvirt network that the VMs will use. It will be created if it does not exist
+* `libvirt_instance_memory_mib` (default to `1024`): memory of the VMs in MiB
+* `libvirt_instance_vcpu` (default to `2`): number of vCPUs of the VMs
* `skip_image_download` (default to `no`): Skip QCOW2 image download. This requires the `image_name` QCOW2 image to be already present in `$HOME/libvirt-storage-pool-openshift-ansible`
Creating a cluster