Adding live-initramfs 1.87.1-1.
[live-boot-grml.git] / scripts / casper-bottom / 18hostname
index a616488..19ac61f 100755 (executable)
@@ -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