From 8cdc15853f0b9be99e2ad576883de03c9418123a Mon Sep 17 00:00:00 2001 From: Robert Bohne Date: Wed, 22 Feb 2023 20:22:46 +0000 Subject: [PATCH] Added some vm.xml improvements based on #259 --- .../roles/openshift-4-cluster/templates/vm.xml.j2 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/ansible/roles/openshift-4-cluster/templates/vm.xml.j2 b/ansible/roles/openshift-4-cluster/templates/vm.xml.j2 index dd1fd6fa..11571f19 100644 --- a/ansible/roles/openshift-4-cluster/templates/vm.xml.j2 +++ b/ansible/roles/openshift-4-cluster/templates/vm.xml.j2 @@ -15,8 +15,8 @@ {% else %} {% endif %} - - hvm + + hvm @@ -35,6 +35,7 @@ /usr/libexec/qemu-kvm + {% if vm_storage_backend is defined and vm_storage_backend == "lvm" %} @@ -43,13 +44,12 @@ {% else %} - + {% endif %} - @@ -65,7 +65,9 @@ - + /dev/urandom