一键DD/重装脚本 (One-click reinstall OS on VPS)
alpinealpine-linuxbootdistrogrubinstallerisolinuxlinux-distributionliveosnetbootnetinstnetinstalloperating-systemsosreinstallshell-scriptvpswindows
910ee0466d
如果旧文件系统是 xfs, mkfs.ext4 会提示是否格式化,加 -F 不弹提示,强制格式化 |
||
---|---|---|
ks-trans.cfg | ||
ks.cfg | ||
meta-data | ||
README.md | ||
reinstall.sh | ||
resize.sh | ||
ubuntu-storage-early.sh | ||
user-data | ||
vendor-data |
reinstall
Usage:
curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh
bash reinstall.sh centos-7/8/9 alma-8/9 rocky-8/9 fedora-36/37/38 ubuntu-20.04/22.04
reboot
Username: root
Password: 123@@@