diff --git a/src/disk.sh b/src/disk.sh index 32bd34a2..2a6f8df8 100644 --- a/src/disk.sh +++ b/src/disk.sh @@ -376,7 +376,7 @@ createDevice () { result+=",if=none \ -device nvme,drive=${DISK_ID}${index},serial=deadbeaf${DISK_INDEX}" echo "$result" - ;; + ;; "ide" | "sata" ) result+=",if=none \ -device ich9-ahci,id=ahci${DISK_INDEX},addr=$DISK_ADDRESS \ @@ -553,7 +553,7 @@ if [[ "${MACHINE,,}" != "virt" ]]; then else FALLBACK="usb" fi - + [[ "${BOOT_MODE:-}" == "windows_legacy" ]] && FALLBACK="auto" if [ -z "${MEDIA_TYPE:-}" ]; then diff --git a/src/reset.sh b/src/reset.sh index 0ba4620c..52aa8344 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -68,6 +68,7 @@ CPU="${CPU// CPU/}" CPU="${CPU// 16 Core/}" CPU="${CPU// Processor/}" CPU="${CPU// Quad core/}" +CPU="${CPU// Core TM/ Core}" CPU="${CPU// with Radeon Graphics/}" [ -z "${CPU// /}" ] && CPU="Unknown"