diff options
| author | spmfox <spmfox@foxwd.com> | 2023-11-18 22:08:45 -0500 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2023-11-18 22:08:45 -0500 |
| commit | 25d3e426c9116ef959e5cab133a70f5edec9b98d (patch) | |
| tree | fd97658a604d79cb32a38ad21e671e9ce43f36ed /roles/libvirt/vars/main.yml | |
| parent | 7017973571535690b8dbdb2db39092c905de0c8e (diff) | |
if kickstart is not being used, change the install to 'cdrom' from 'location' to support Windows, adding cpu_type for windows support as well
Diffstat (limited to 'roles/libvirt/vars/main.yml')
| -rw-r--r-- | roles/libvirt/vars/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/libvirt/vars/main.yml b/roles/libvirt/vars/main.yml index 33ecc48..04d4e4a 100644 --- a/roles/libvirt/vars/main.yml +++ b/roles/libvirt/vars/main.yml @@ -1,6 +1,7 @@ libvirt_vm_name: "{{ inventory_hostname }}" libvirt_vm_memory: "{{ memory_mb if memory_mb is defined else '1024' }}" libvirt_vm_vcpus: "{{ cpus if cpus is defined else '1' }}" +libvirt_vm_cpu: "{{ cpu_type if cpu_type is defined else 'host-passthrough' }}" libvirt_vm_disk_size: "{{ disk_gb if disk_gb is defined else '20' }}" libvirt_vm_disk_format: "{{ disk_format if disk_format is defined else 'qcow2' }}" libvirt_vm_os: "{{ os if os is defined else 'rhel8-unknown' }}" |
