Use older VM config
This commit is contained in:
parent
b8c82191e0
commit
ac73e9ed9f
1 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue