找了一个带进度条的脚本,目前对云耀服务器有用,其他ecs自测
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
bash reinstall.sh dd --img=https://tuz.me/d/DD/lite/winsrv2012r2-data-x64-cn/winsrv2012r2-data-x64-cn.vhd.gz
kms激活命令
slmgr /skms kms.v0v.bid && slmgr /ato