summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/inst b/inst
index c7ff1f8..f964210 100755
--- a/inst
+++ b/inst
@@ -183,11 +183,11 @@ do_chroot_setup()
EOF
chmod a+rx "${target}/sbin/start-stop-daemon" || return 1
- printf '%s\n' "${hostname}" >"${target}/etc/hostname"
+ printf '%s\n' "${host}" >"${target}/etc/hostname"
cat >"${target}/etc/hosts" <<-EOF
127.0.0.1 localhost
- 127.0.0.1 ${hostname}
+ 127.0.0.1 ${host}
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback