summaryrefslogtreecommitdiff
path: root/scripts/live-bottom/18hostname
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-bottom/18hostname')
-rwxr-xr-xscripts/live-bottom/18hostname2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-bottom/18hostname b/scripts/live-bottom/18hostname
index e854eb2..430d0a0 100755
--- a/scripts/live-bottom/18hostname
+++ b/scripts/live-bottom/18hostname
@@ -27,7 +27,7 @@ log_begin_msg "Setting hostname..."
# live-initramfs script
echo "$HOSTNAME" > /root/etc/hostname
-cat > /root/etc/hosts <<EOF
+cat >> /root/etc/hosts <<EOF
127.0.0.1 localhost
127.0.1.1 $HOSTNAME