0
0

control-vm.sh: Align default machine type w/ min QEMU version

This commit is contained in:
Nils Freydank 2024-06-23 12:11:00 +02:00
parent ed4244f035
commit b7f4b8d9d0
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112

View File

@ -8,7 +8,7 @@
# https://git.holgersson.xyz/nfr/control-vm
# If that link does not work, feel free to drop me an email.
# Version: 2024-05-05
# Version: 2024-05-23
# Author: Nils Freydank <nils.freydank@datenschutz-ist-voll-doof.de>
# License: MIT
@ -74,7 +74,9 @@ CPU_CORES="${CPU_CORES:-8}"
EFI="${EFI:-True}"
GUEST_NAME="${1}"
LIVE_ONLY="${LIVE_ONLY:-}"
MACHINE="${MACHINE:-pc-q35-9.0}"
# Keep low default aligned with oldest tested version.
# Feel free to bump to latest version that you QEMU supports.
MACHINE="${MACHINE:-pc-q35-6.0}"
MEMORY="${MEMORY:-16384}"
NET="${NET:-}"
NETDEV_NAME="vmnic-${GUEST_NAME}"