Add fake fqdn to prevent Apache warnings

Also don't duplicate 127.0.0.1 line
ksolomko/vlan
Jon Bonilla 13 years ago
parent 1be9a70f5b
commit 816e2b549a

@ -1557,7 +1557,7 @@ EOF
# otherwise 'hostname --fqdn' does not work and causes delays with exim4 startup
cat >> $TARGET/etc/hosts << EOF
# required for FQDN, please adjust if needed
127.0.0.1 $TARGET_HOSTNAME
127.0.0.2 $TARGET_HOSTNAME. $TARGET_HOSTNAME
EOF
fi

Loading…
Cancel
Save