summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/18hostname
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/casper-bottom/18hostname')
-rwxr-xr-xscripts/casper-bottom/18hostname4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/casper-bottom/18hostname b/scripts/casper-bottom/18hostname
index a616488..19ac61f 100755
--- a/scripts/casper-bottom/18hostname
+++ b/scripts/casper-bottom/18hostname
@@ -20,10 +20,10 @@ esac
log_begin_msg "$DESCRIPTION"
-echo "$HOSTNAME" > /root/etc/hostname
+echo "$HOST" > /root/etc/hostname
cat > /root/etc/hosts <<EOF
127.0.0.1 localhost
-127.0.1.1 $HOSTNAME
+127.0.1.1 $HOST
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback