hostnamectl set-hostname

This commit is contained in:
huanqing.shao
2019-09-07 23:31:55 +08:00
parent bf6724bfb0
commit fa3db55060
2 changed files with 20 additions and 0 deletions

View File

@ -73,6 +73,16 @@ hostname
| 7.3 | <span style="font-size: 24px;">🤔</span> | 待验证 |
| 7.2 | <span style="font-size: 24px;">😞</span> | 已证实会出现 kubelet 无法启动的问题 |
::: tip 修改 hostname
如果您需要修改 hostname可执行如下指令
``` sh
# 修改 hostname
hostnamectl set-hostname your-new-host-name
# 查看修改结果
hostnamectl status
```
:::
</div>
<div slot="step2">