notes/IT/Troubleshooting/sudo unable to resolve host after hostname change.md
2024-05-19 10:57:07 -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
```