Configure virtinst for Debian and bump RAM/CPU
This commit is contained in:
parent
f9bba1b3ef
commit
661cdc6223
1 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ fi
|
||||||
|
|
||||||
case "$_acp_vm_distro" in
|
case "$_acp_vm_distro" in
|
||||||
"debian")
|
"debian")
|
||||||
_acp_vm_boot=loader=/usr/share/edk2/ovmf/OVMF_CODE.fd,loader.readonly=yes,loader.type=pflash,nvram.template=/usr/share/edk2/ovmf/OVMF_VARS.fd,loader_secure=no
|
_acp_vm_boot=loader=/usr/share/OVMF/OVMF_CODE.fd,loader.readonly=yes,loader.type=pflash,nvram.template=/usr/share/OVMF/OVMF_VARS.fd,loader_secure=no
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
_acp_vm_boot=uefi
|
_acp_vm_boot=uefi
|
||||||
|
@ -57,8 +57,8 @@ virt-install --connect $_acp_vm_session \
|
||||||
--osinfo linux2022 \
|
--osinfo linux2022 \
|
||||||
--accelerate \
|
--accelerate \
|
||||||
--boot $_acp_vm_boot \
|
--boot $_acp_vm_boot \
|
||||||
--vcpus 1 \
|
--vcpus 2 \
|
||||||
--ram 1536 \
|
--ram 2048 \
|
||||||
--disk "$_acp_vm_disk" \
|
--disk "$_acp_vm_disk" \
|
||||||
--network network:default,model=virtio \
|
--network network:default,model=virtio \
|
||||||
--graphics vnc \
|
--graphics vnc \
|
||||||
|
|
Loading…
Reference in a new issue