windows: 文件重命名

This commit is contained in:
bin456789 2023-07-22 21:19:22 +08:00
parent 129d00c2bb
commit ac2518b28d
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B
2 changed files with 1 additions and 1 deletions

View File

@ -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