From d0527f7d0ca47ac3a3cb78821c61994b56cdf3cd Mon Sep 17 00:00:00 2001 From: Kaan Barmore-Genc Date: Thu, 27 Apr 2023 21:05:24 -0400 Subject: [PATCH] Include hosts change --- content/posts/2023.04.27.raspberry-pi-headless-setup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/posts/2023.04.27.raspberry-pi-headless-setup.md b/content/posts/2023.04.27.raspberry-pi-headless-setup.md index a86bbed..22117d2 100644 --- a/content/posts/2023.04.27.raspberry-pi-headless-setup.md +++ b/content/posts/2023.04.27.raspberry-pi-headless-setup.md @@ -54,6 +54,8 @@ mount /dev/sdX2 /mnt echo host | sudo tee /mnt/etc/hostname ``` +Also edit `/etc/hosts` so `127.0.0.1` points to your new hostname. + Otherwise, just `sync && umount /mnt` and you are done. If you did set up the hostname, and you have `.local` domains with Avahi set up,