Skip to content

Commit 425cb88

Browse files
committed
Allow overriding of the libvirt VM template
Assisted-by: claude-sonnet-4.5 Signed-off-by: Honza Pokorny <[email protected]>
1 parent af02136 commit 425cb88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm-setup/roles/libvirt/tasks/vm_setup_tasks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
virt:
9797
name: "{{ item.name }}"
9898
command: define
99-
xml: "{{ lookup('template', 'baremetalvm.xml.j2') }}"
99+
xml: "{{ lookup('template', baremetal_vm_template | default('baremetalvm.xml.j2')) }}"
100100
uri: "{{ libvirt_uri }}"
101101
with_items: "{{ vm_nodes }}"
102102

0 commit comments

Comments
 (0)