Skip to content

Commit fc62319

Browse files
committed
modify bool syntax
1 parent 809b653 commit fc62319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/vm.xml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<name>{{ vm.name }}</name>
33
{% if vm.uuid is defined %}
44
<uuid>{{ vm.uuid }}</uuid>
5-
{% elif libvirt_vm_default_uuid_deterministic is sameas true or (vm.uuid_deterministic is defined and vm.uuid_deterministic is sameas true) %}
5+
{% elif (libvirt_vm_default_uuid_deterministic | bool) or (vm.uuid_deterministic is defined and (vm.uuid_deterministic | bool)) %}
66
<uuid>{{ vm.name | to_uuid }}</uuid>
77
{% endif %}
88
<memory>{{ vm.memory_mb | int * 1024 }}</memory>

0 commit comments

Comments
 (0)