summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/18hostname
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:36 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:24:35 +0100
commit4bdaa2237c6ae923d1dd068e9024ebceca3f40d9 (patch)
tree5a563ee3109e324ae7002f0550ac9850254c1ecd /scripts/casper-bottom/18hostname
parentc972c6eea545add125883eaaeea459551e54589c (diff)
downloadlive-boot-4bdaa2237c6ae923d1dd068e9024ebceca3f40d9.tar.gz
live-boot-4bdaa2237c6ae923d1dd068e9024ebceca3f40d9.zip
Adding live-initramfs 1.87.1-1.
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