diff --git a/roles/virtualization/templates/vm.xml.j2 b/roles/virtualization/templates/vm.xml.j2 index f0e8531..99e8a49 100644 --- a/roles/virtualization/templates/vm.xml.j2 +++ b/roles/virtualization/templates/vm.xml.j2 @@ -1,7 +1,7 @@ {{ hostname }} {{ vm_memory | int * 1024 }} - {{ vm_ballo | int * 1024 }} + {% if vm_ballo is defined %}{{ vm_ballo | int * 1024 }}{% endif %} {{ vm_cpus }} hvm @@ -52,4 +52,4 @@ - \ No newline at end of file +