From 6713f7e17f5e25a74c9ecf7bd4b4c6cbd941f1f6 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Mon, 31 Aug 2026 08:52:51 +0200 Subject: [PATCH] haos-vm: add optional x86-64-v2-AES CPU option, future HA numpy builds need it (#16868) --- vm/haos-vm.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vm/haos-vm.sh b/vm/haos-vm.sh index e277cdd1c..ffea51388 100644 --- a/vm/haos-vm.sh +++ b/vm/haos-vm.sh @@ -401,8 +401,9 @@ function advanced_settings() { exit-script fi - if CPU_TYPE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CPU MODEL" --radiolist "Choose CPU Model" --cancel-button Exit-Script 10 58 2 \ + if CPU_TYPE1=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "CPU MODEL" --radiolist "Choose CPU Model" --cancel-button Exit-Script 12 74 3 \ "KVM64" "Default - safe for migration/compatibility" ON \ + "x86-64-v2-AES" "Wider feature set, needed by newer HA releases (PVE 8+, host CPU 2010+)" OFF \ "Host" "Use host CPU features (faster, no migration)" OFF \ 3>&1 1>&2 2>&3); then case "$CPU_TYPE1" in @@ -410,6 +411,10 @@ function advanced_settings() { echo -e "${OS}${BOLD}${DGN}CPU Model: ${BGN}Host${CL}" CPU_TYPE=" -cpu host" ;; + x86-64-v2-AES) + echo -e "${OS}${BOLD}${DGN}CPU Model: ${BGN}x86-64-v2-AES${CL}" + CPU_TYPE=" -cpu x86-64-v2-AES" + ;; *) echo -e "${OS}${BOLD}${DGN}CPU Model: ${BGN}KVM64${CL}" CPU_TYPE=""