how to reinstall windows on kvm machine or dedicated server by youself
目录
no ipmi(kvm), no vnc , no rescue mode! One Key installation windows system by youself
requirements:
1 2 3 4 5 6 |
#Debian/Ubuntu: apt-get install -y xz-utils openssl gawk file #RedHat/CentOS: yum install -y xz openssl gawk file yum install -y glibc-common |
Example one(Automatic network parameters):
test success on qcloud, aliyun.
1 |
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd '[Windows dd包直连地址]' |
Example two(Specify network parameters):
1 |
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh --ip-addr 98.126.xxx.xx --ip-mask 255.255.255.248 --ip-gate 98.126.xxx.xx -dd '[Windows dd包直连地址]' |
You have to wait for enough time, because it has no progress bar. It will restart automatically when it is finished.
Tips: You can detect port 3389 ~
coryright:https://moeclub.org/2017/11/19/483/
by cpp.la 20180705