|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
[General description in English ↓](#introduction) |
|
|
|
|
|
|
|
|
|
## VPS 网络重装 Debian 10 脚本 |
|
|
|
|
## VPS 网络重装 Debian 11 脚本 |
|
|
|
|
|
|
|
|
|
**暂不支持 Oracle Linux 作为原系统。创建新机器时请选择 Ubuntu 20.04 或 18.04 系统模板。** |
|
|
|
|
|
|
|
|
|
@ -38,7 +38,7 @@ sudo shutdown -r now |
|
|
|
|
|
|
|
|
|
## Introduction |
|
|
|
|
|
|
|
|
|
This script is written to reinstall a VPS/virtual machine to minimal Debian 10. |
|
|
|
|
This script is written to reinstall a VPS/virtual machine to minimal Debian 11. |
|
|
|
|
|
|
|
|
|
## Should Work On |
|
|
|
|
|
|
|
|
|
@ -104,10 +104,10 @@ Otherwise, you can run this command to revert all changes made by the script: |
|
|
|
|
* `--dns '8.8.8.8 8.8.4.4'` (Default IPv6 DNS: `2001:4860:4860::8888 2001:4860:4860::8844`) |
|
|
|
|
* `--hostname <string>` FQDN hostname (includes the domain name), e.g. `server1.example.com` |
|
|
|
|
* `--network-console` Enable the network console of the installer. `ssh installer@ip` to connect |
|
|
|
|
* `--version 11` Supports: `9`, `10`, `11`, `stretch`, `buster`, `bullseye` |
|
|
|
|
* `--suite bullseye` **For normal cases, please use `--version` instead.** e.g. `stretch`, `buster`, `bullseye`, `sid`, `oldstable`, `stable`, `testing`, `unstable` |
|
|
|
|
* `--release-d-i` d-i (Debian Installer) for the released versions: 10 (buster) and 9 (stretch) |
|
|
|
|
* `--daily-d-i` Use latest daily build of d-i (Debian Installer) for the unreleased version: 11 (bullseye), sid (unstable) |
|
|
|
|
* `--version 11` Supports: `9`, `10`, `11`, `12` |
|
|
|
|
* `--suite bullseye` **For normal cases, please use `--version` instead.** e.g. `stable`, `testing`, `sid` |
|
|
|
|
* `--release-d-i` d-i (Debian Installer) for the released versions: 11 (bullseye), 10 (buster) and 9 (stretch) |
|
|
|
|
* `--daily-d-i` Use latest daily build of d-i (Debian Installer) for the unreleased version: 12 (bookworm), sid (unstable) |
|
|
|
|
* `--mirror-protocol http` or `https` or `ftp` |
|
|
|
|
* `--https` alias to `--mirror-protocol https` |
|
|
|
|
* `--mirror-host deb.debian.org` |
|
|
|
|
|