From f0fc83a060e6d878e7be7c7e7069e9c73617c9e2 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Tue, 24 Mar 2026 19:17:16 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20=E5=AF=B9=E5=88=9D=E5=A7=8B=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=BA=20linux=20=E7=9A=84=20aws=20xen=20=E5=AE=9E?= =?UTF-8?q?=E4=BE=8B=E4=BD=BF=E7=94=A8=E6=97=A7=E7=89=88=E6=9C=AC=E9=A9=B1?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 否则安装 ws2022/ws2025 时会 IRQL_NOT_LESS_OR_EQUAL 蓝屏 --- trans.sh | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/trans.sh b/trans.sh index 7116c43..e622e41 100644 --- a/trans.sh +++ b/trans.sh @@ -6495,9 +6495,9 @@ EOF apk add msitools - # 8.4.3 的 xenbus 挑创建实例时的初始系统 - # 初始系统为 windows 的实例支持 8.4.3 - # 初始系统为 linux 的实例不支持 8.4.3 + # 8.4.3+ 的 xenbus 驱动挑创建实例时的初始系统 + # 初始系统为 windows 的实例支持 8.4.3+ + # 初始系统为 linux 的实例不支持 8.4.3+ # 初始系统为 linux + 安装 8.4.3 # 如果用 msi 安装,则不会启用 xenbus,结果是能启动但无法上网 @@ -6512,11 +6512,16 @@ EOF 6.1) $support_sha256 && echo 8.3.5 || echo 8.3.2 ;; 6.2 | 6.3) case "$hypervisor_vendor" in - Microsoft) echo 8.4.3 ;; # 实例初始系统为 Windows,能使用 8.4.3 - Xen) echo 8.3.5 ;; # 实例初始系统为 Linux,不能使用 8.4.3 + Xen) echo 8.3.5 ;; # 实例初始系统为 Linux + Microsoft) echo 8.4.3 ;; # 实例初始系统为 Windows + esac + ;; + *) + case "$hypervisor_vendor" in + Xen) echo 8.3.5 ;; # 实例初始系统为 Linux + Microsoft) echo Latest ;; # 实例初始系统为 Windows esac ;; - *) echo Latest ;; esac )