diff options
author | Pep TurrĂ³ Mauri <pep@redhat.com> | 2016-03-16 17:17:06 +0100 |
---|---|---|
committer | Pep TurrĂ³ Mauri <pep@redhat.com> | 2016-03-16 17:21:17 +0100 |
commit | 74425eca1e738ca124ee2004ea5c7d6782ddbeb9 (patch) | |
tree | 4f01edf4e09f7fd34fc8ddd7fa27208db0a7066b /playbooks/libvirt/openshift-cluster/templates | |
parent | 4551e7cddf4a9d1756a064fd31777b6bed7d3567 (diff) | |
download | openshift-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 'playbooks/libvirt/openshift-cluster/templates')
-rw-r--r-- | playbooks/libvirt/openshift-cluster/templates/domain.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/playbooks/libvirt/openshift-cluster/templates/domain.xml b/playbooks/libvirt/openshift-cluster/templates/domain.xml index 56f450642..8e96cec8d 100644 --- a/playbooks/libvirt/openshift-cluster/templates/domain.xml +++ b/playbooks/libvirt/openshift-cluster/templates/domain.xml @@ -1,6 +1,6 @@ <domain type='kvm' id='8'> <name>{{ item }}</name> - <memory unit='MiB'>{{ os_libvirt_instance_memory_mib }}</memory> + <memory unit='MiB'>{{ libvirt_instance_memory_mib }}</memory> <metadata xmlns:ansible="https://github.com/ansible/ansible"> <ansible:tags> <ansible:tag>environment-{{ cluster_env }}</ansible:tag> @@ -9,7 +9,7 @@ <ansible:tag>sub-host-type-{{ g_sub_host_type }}</ansible:tag> </ansible:tags> </metadata> - <vcpu placement='static'>{{ os_libvirt_instance_vcpu }}</vcpu> + <vcpu placement='static'>{{ libvirt_instance_vcpu }}</vcpu> <os> <type arch='x86_64' machine='pc'>hvm</type> <boot dev='hd'/> @@ -31,23 +31,23 @@ <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> - <source file='{{ os_libvirt_storage_pool_path }}/{{ item }}.qcow2'/> + <source file='{{ libvirt_storage_pool_path }}/{{ item }}.qcow2'/> <target dev='vda' bus='virtio'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> - <source file='{{ os_libvirt_storage_pool_path }}/{{ item }}-docker.qcow2'/> + <source file='{{ libvirt_storage_pool_path }}/{{ item }}-docker.qcow2'/> <target dev='vdb' bus='virtio'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> - <source file='{{ os_libvirt_storage_pool_path }}/{{ item }}_cloud-init.iso'/> + <source file='{{ libvirt_storage_pool_path }}/{{ item }}_cloud-init.iso'/> <target dev='vdc' bus='virtio'/> <readonly/> </disk> <controller type='usb' index='0' /> <interface type='network'> - <source network='{{ os_libvirt_network }}'/> + <source network='{{ libvirt_network }}'/> <model type='virtio'/> </interface> <serial type='pty'> |