aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydractl/provision3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 19daad7..2822864 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -71,7 +71,8 @@ mount none -t proc /tmp/debootstrap/proc/
mount -o bind /dev/ /tmp/debootstrap/dev
cp -L /etc/resolv.conf /tmp/debootstrap/etc
echo $hostname.$domain > /tmp/debootstrap/etc/hostname
-echo "127.0.0.1 localhost $hostname $hostname.$domain" >> /tmp/debootstrap/etc/hosts
+echo "127.0.0.1 $hostname $hostname.$domain" >> /tmp/debootstrap/etc/hosts
+echo "127.0.0.1 localhost" >> /tmp/debootstrap/etc/hosts
echo LANG=C > /tmp/debootstrap/etc/default/locale
# Initial upgrade.