do not set hostname entry pointing to 127.0.0.1

Something like:

| 127.0.0.1 sp1 sp1

is nothing we want in /etc/hosts.

Changing as discussed with Daniel.

From: Michael Prokop <mprokop@sipwise.com>
ksolomko/vlan
Michael Prokop 14 years ago
parent afdbb30819
commit 2563982f23

@ -1079,7 +1079,6 @@ fi # if $DHCP
# finalise hostname configuration
cat > $TARGET/etc/hosts << EOF
127.0.0.1 localhost
127.0.0.1 ${TARGET_HOSTNAME}${TARGET_DOMAIN} ${TARGET_HOSTNAME}
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback

Loading…
Cancel
Save