From ac2518b28d413ab12826edc58f7d3e9b5840a387 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 22 Jul 2023 21:19:22 +0800 Subject: [PATCH] =?UTF-8?q?windows:=20=E6=96=87=E4=BB=B6=E9=87=8D=E5=91=BD?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 2 +- Autounattend.xml => windows.xml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Autounattend.xml => windows.xml (100%) diff --git a/trans.sh b/trans.sh index b0d9bdb..7a5b770 100644 --- a/trans.sh +++ b/trans.sh @@ -606,7 +606,7 @@ if [ "$distro" = "windows" ]; then fi # 修改应答文件 - download $confhome/Autounattend.xml /tmp/Autounattend.xml + download $confhome/windows.xml /tmp/Autounattend.xml locale=$(wiminfo $install_wim | grep 'Default Language' | head -1 | awk '{print $NF}') sed -i "s|%arch%|$arch|; s|%image_name%|$image_name|; s|%locale%|$locale|" /tmp/Autounattend.xml diff --git a/Autounattend.xml b/windows.xml similarity index 100% rename from Autounattend.xml rename to windows.xml