diff --git a/ansible/roles/vm_deploy/tasks/deploy.yaml b/ansible/roles/vm_deploy/tasks/deploy.yaml index 4186250..5673eeb 100644 --- a/ansible/roles/vm_deploy/tasks/deploy.yaml +++ b/ansible/roles/vm_deploy/tasks/deploy.yaml @@ -74,7 +74,6 @@ community.libvirt.virt: command: define autostart: false - name: "{{ vm_name }}" xml: "{{ lookup('template', 'vm_template.xml.j2') }}" - name: start vm diff --git a/ansible/roles/vm_deploy/templates/vm_template.xml.j2 b/ansible/roles/vm_deploy/templates/vm_template.xml.j2 index 4e420bd..682de3e 100644 --- a/ansible/roles/vm_deploy/templates/vm_template.xml.j2 +++ b/ansible/roles/vm_deploy/templates/vm_template.xml.j2 @@ -12,7 +12,7 @@ /machine - hvm + hvm /usr/share/edk2-ovmf/x64/OVMF_CODE.secboot.fd {{ firmware_vhd_pool_dir }}/{{ vm_name }}_VARS.fd @@ -24,7 +24,7 @@ - + @@ -65,7 +65,7 @@ - +