From b6d6e2c327fbc60948e0f34fac610dd1fb4c507f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 13 Jan 2018 12:33:38 -0500 Subject: do_chroot_setup(): Use host variable, not hostname --- (limited to 'inst') 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 -- cgit v0.9.1