edit change hostname

This commit is contained in:
onceupon 2017-08-28 09:51:29 +08:00 committed by GitHub
parent 5f3a39de94
commit 2c66e33ec0

View File

@ -1891,6 +1891,12 @@ sudo gpasswd -a nice docker
```bash
sudo hostname your-new-name
```
if not working, do also:
```bash
hostnamectl set-hostname your-new-hostname
```
and edit /etc/hostname by replacing your new hostname
##### List installed packages
```bash