Use older VM config

This commit is contained in:
Anthony Perkins 2023-01-16 10:05:17 +00:00
parent b8c82191e0
commit ac73e9ed9f

View file

@ -378,7 +378,7 @@ tlscheck () {
} }
virtinst () { virtinst () {
_acp_vm_default_nic=enp2s0 _acp_vm_default_nic=eno1
if [ $# -ne 1 ] if [ $# -ne 1 ]
then then
@ -397,7 +397,7 @@ virtinst () {
esac esac
virt-install --name $_acp_vm_name \ virt-install --name $_acp_vm_name \
--osinfo linux2022 \ --osinfo linux2020 \
--boot uefi \ --boot uefi \
--cdrom /usr/share/edk2/ovmf/UefiShell.iso \ --cdrom /usr/share/edk2/ovmf/UefiShell.iso \
--disk /var/lib/libvirt/images/${_acp_vm_name}.qcow2,size=20 \ --disk /var/lib/libvirt/images/${_acp_vm_name}.qcow2,size=20 \