|
|
5 年 前 | |
|---|---|---|
| LICENSE | 5 年 前 | |
| README.md | 5 年 前 | |
| netboot.sh | 5 年 前 |
Now ready for Debian 10 (buster)!
This script is used to re-install VPS to Debian 9 (stretch) or 10 (buster) with the official installer, but semi-automatically.
sudo sh -c "$(wget -qO- https://github.com/brentybh/debian-netboot/raw/master/netboot.sh)" -- <OPTIONS>
--preset [china, cloud]--ip--netmask--gateway--ns "8.8.8.8 8.8.4.4"--hostname debian--ethn Disable Consistent Network Device Naming--ssh-password--ssh-keys--protocol http [http, https, ftp]--mirror deb.debian.org--directory /debian--suite stable--skip-user--username debian--password--timezone UTC https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List--ntp 0.debian.pool.ntp.org--skip-part--disk--part--fs ext4--kernel Specify another kernel image, e.g. linux-image-cloud-amd64--security http://security.debian.org/debian-security--install--upgrade full-upgrade [none, safe-upgrade, full-upgrade]--poweroff--arch--boot-partition--dry-runchina--ns "223.5.5.5 223.6.6.6"--protocol https--mirror mirrors.aliyun.com--security true--timezone Asia/Shanghai--ntp ntp.aliyun.comcloud--protocol https--mirror deb.debian.org--security true