* Quick hack to allow localhost to be looked up (NIXOS-41).

svn path=/nixu/trunk/; revision=7100
This commit is contained in:
Eelco Dolstra 2006-11-23 22:16:59 +00:00
parent 3bf7001325
commit bd62a8273e

View File

@ -92,6 +92,11 @@ if ! test -e /etc/group; then
fi
# We need "localhost" (!!! destructive hack for NIXOS-41).
echo "127.0.0.1 localhost" > /etc/localhost
echo "hosts: files dns" > /etc/nsswitch.conf
# Set up the Upstart jobs.
export UPSTART_CFG_DIR=/etc/event.d