Update roles
This commit is contained in:
@@ -42,6 +42,7 @@ template:
|
||||
storage_domain: "{{ providers.ovirt.data_domain | default('data_domain') }}"
|
||||
memory: "{{ template_vm_memory }}"
|
||||
cpu: "{{ template_vm_cpu }}"
|
||||
bios_type: "{{ ('q35_ovmf') if (template_vm_efi|bool and not custom_efi_enabled|bool) else (omit) }}"
|
||||
networks:
|
||||
- name: "{{ template_vm_network_name }}"
|
||||
ip: "{{ template_vm_ip_address }}"
|
||||
@@ -60,12 +61,12 @@ qemu_cmdline_second_iso:
|
||||
|
||||
qemu_cmdline_efi:
|
||||
- -drive
|
||||
- if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd
|
||||
- if=pflash,format=raw,readonly,file={{ custom_efi_path }}
|
||||
|
||||
custom_properties:
|
||||
- name: qemu_cmdline
|
||||
value: "{{ ((qemu_cmdline_second_iso + qemu_cmdline_efi) | to_json) if template_vm_efi|bool else (qemu_cmdline_second_iso | to_json) }}"
|
||||
value: "{{ ((qemu_cmdline_second_iso + qemu_cmdline_efi) | to_json) if (template_vm_efi|bool and custom_efi_enabled|bool) else (qemu_cmdline_second_iso | to_json) }}"
|
||||
|
||||
custom_properties_efi:
|
||||
- name: qemu_cmdline
|
||||
value: "{{ qemu_cmdline_efi | to_json }}"
|
||||
value: "{{ (qemu_cmdline_efi | to_json) if (template_vm_efi|bool and custom_efi_enabled|bool) else ('[]') }}"
|
||||
Reference in New Issue
Block a user