feat: Improve CPU detection (#164)
This commit is contained in:
parent
cc57dce4d1
commit
ded63e0e52
2 changed files with 2 additions and 1 deletions
|
@ -553,7 +553,7 @@ if [[ "${MACHINE,,}" != "virt" ]]; then
|
|||
else
|
||||
FALLBACK="usb"
|
||||
fi
|
||||
|
||||
|
||||
[[ "${BOOT_MODE:-}" == "windows_legacy" ]] && FALLBACK="auto"
|
||||
|
||||
if [ -z "${MEDIA_TYPE:-}" ]; then
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue