From 634411cd3e455e6aa104983bcaaae20026bf1cdd Mon Sep 17 00:00:00 2001 From: eichehome Date: Wed, 19 Jul 2023 21:10:23 +0200 Subject: [PATCH] =?UTF-8?q?IPv6-Eintr=C3=A4ge=20in=20/etc/hosts=20hinzugef?= =?UTF-8?q?=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.uefi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.uefi b/install.uefi index 47c32eb..26b84ae 100644 --- a/install.uefi +++ b/install.uefi @@ -141,8 +141,13 @@ echo "KEYMAP=${KEYMAP}" > /mnt/etc/vconsole.conf echo "${HOSTNAME_NEW}" > /mnt/etc/hostname cat > /mnt/etc/hosts << EOF +# The following lines are desirable for IPv4 capable hosts 127.0.0.1 localhost -::1 localhost + +# The following lines are desirable for IPv6 capable hosts +::1 localhost ip6-localhost ip6-loopback +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters EOF #echo "127.0.0.1 localhost" > /etc/hosts #echo "::1 localhost" >> /etc/hosts