README: China timezone

pull/20/head
Bohan Yang 4 years ago
parent 7f26334c97
commit ca71402c46
  1. 3
      README.md

@ -17,6 +17,7 @@ sudo ./debi.sh --cdn --network-console --ethx --bbr --user root --password <这
* 以上命令选项开启了 BBR;设置了网卡名称形式是 `eth0` 而不是 `ens3` 这种。 * 以上命令选项开启了 BBR;设置了网卡名称形式是 `eth0` 而不是 `ens3` 这种。
* 不加 `--password` 选项会提示输入密码。 * 不加 `--password` 选项会提示输入密码。
* (可选)添加 `--cloud-kernel` 参数,以安装空间占用较小的内核,但可能会导致 UEFI 启动的机器(如 Oracle、Azure 及 Hyper-V、Google Cloud 等)VNC 黑屏。BIOS 启动的普通 VPS 则没有此问题。 * (可选)添加 `--cloud-kernel` 参数,以安装空间占用较小的内核,但可能会导致 UEFI 启动的机器(如 Oracle、Azure 及 Hyper-V、Google Cloud 等)VNC 黑屏。BIOS 启动的普通 VPS 则没有此问题。
* 默认使用 UTC 时区,中国时区请加 `--timezone Asia/Shanghai`
如果没有报错可以重启: 如果没有报错可以重启:
@ -111,7 +112,7 @@ Otherwise, you can run this command to revert all changes made by the script:
* `--password <string>` Password of the new user. **You'll be prompted if you choose to not specify it here** * `--password <string>` Password of the new user. **You'll be prompted if you choose to not specify it here**
* `--authorized-keys-url <string>` URL to your authorized keys for SSH authentication. e.g. `https://github.com/torvalds.keys` * `--authorized-keys-url <string>` URL to your authorized keys for SSH authentication. e.g. `https://github.com/torvalds.keys`
* `--sudo-with-password` Require password when the user invokes `sudo` command * `--sudo-with-password` Require password when the user invokes `sudo` command
* `--timezone UTC` https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List * `--timezone UTC` e.g. `Asia/Shanghai` for China (UTC+8) https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
* `--ntp 0.debian.pool.ntp.org` * `--ntp 0.debian.pool.ntp.org`
* `--no-disk-partitioning, --no-part` **(Manual installation)** Proceed disk partitioning manually in VNC or remote console * `--no-disk-partitioning, --no-part` **(Manual installation)** Proceed disk partitioning manually in VNC or remote console
* `--disk <string>` Manually select a disk for installation. **Please remember to specify this when more than one disk is available!** e.g. `/dev/sda` * `--disk <string>` Manually select a disk for installation. **Please remember to specify this when more than one disk is available!** e.g. `/dev/sda`

Loading…
Cancel
Save