From 0dd2b1a2c996745a79b700be739b395014131db7 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sat, 20 Jul 2024 07:55:57 +0200 Subject: [PATCH] Deduplicate /etc/hosts pirogue entries. --- raspberrypi/recipes/pi3-pi4.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/raspberrypi/recipes/pi3-pi4.sh b/raspberrypi/recipes/pi3-pi4.sh index eb622d7..34d1d28 100644 --- a/raspberrypi/recipes/pi3-pi4.sh +++ b/raspberrypi/recipes/pi3-pi4.sh @@ -19,9 +19,7 @@ toast_me() { rm -f $MNT/etc/ssh/ssh_host_* chroot $MNT systemctl enable ssh # Change the hostname - echo "127.0.0.1 pirogue" >> $MNT/etc/hosts echo "127.0.0.1 pirogue.local pirogue" >> $MNT/etc/hosts - echo "::1 pirogue" >> $MNT/etc/hosts echo "::1 pirogue.local pirogue" >> $MNT/etc/hosts echo "pirogue" > $MNT/etc/hostname # Add PTS PPA