notes/IT/sudo unable to resolve host after hostname change.md
2023-09-20 17:57:33 -06:00

5 lines
163 B
Markdown

Edit `/etc/hosts` to include a line under the `localhost` one with a loopback IP and the new hostname, eg
```
127.0.0.1 localhost
127.0.0.1 newhostname
```