Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Change virt-install cli deprecated os-variant to rhel8.0 #287

Merged
merged 1 commit into from
Mar 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/bootstrap_local_vm/02_create_local_vm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
changed_when: true
- name: Create local VM
command: >-
virt-install -n {{ he_vm_name }}Local --os-variant rhel7 --virt-type kvm --memory {{ he_mem_size_MB }}
virt-install -n {{ he_vm_name }}Local --os-variant rhel8.0 --virt-type kvm --memory {{ he_mem_size_MB }}
eslutsky marked this conversation as resolved.
Show resolved Hide resolved
--vcpus {{ he_vcpus }} --network network=default,mac={{ he_vm_mac_addr }},model=virtio
--disk {{ local_vm_disk_path }} --import --disk path={{ he_local_vm_dir }}/seed.iso,device=cdrom
--noautoconsole --rng /dev/random --graphics vnc --video vga --sound none --controller usb,model=none
Expand Down