mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
windows: 文件重命名
This commit is contained in:
parent
129d00c2bb
commit
ac2518b28d
2
trans.sh
2
trans.sh
@ -606,7 +606,7 @@ if [ "$distro" = "windows" ]; then
|
|||||||
fi
|
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}')
|
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
|
sed -i "s|%arch%|$arch|; s|%image_name%|$image_name|; s|%locale%|$locale|" /tmp/Autounattend.xml
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user