IPv6-Einträge in /etc/hosts hinzugefügt.
This commit is contained in:
parent
26039f1801
commit
634411cd3e
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue