summaryrefslogtreecommitdiffstats
path: root/inst
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-03-16 10:37:10 (EDT)
committer P. J. McDermott <pj@pehjota.net>2016-03-16 10:37:10 (EDT)
commit1de0cc27873f2f50434d1817d8f3b3b7772fe92e (patch)
tree5537b894002b3e5a363f49a595809d68f7abb38c /inst
parente48fd6ba2e6c075ad1a1182fa197afef114958ab (diff)
downloadpc-inst-1de0cc27873f2f50434d1817d8f3b3b7772fe92e.zip
pc-inst-1de0cc27873f2f50434d1817d8f3b3b7772fe92e.tar.gz
pc-inst-1de0cc27873f2f50434d1817d8f3b3b7772fe92e.tar.bz2
Add hostname to /etc/hosts
Diffstat (limited to 'inst')
-rwxr-xr-xinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/inst b/inst
index 8fe55b7..a48ba34 100755
--- a/inst
+++ b/inst
@@ -185,6 +185,7 @@ do_chroot_setup()
cat >"${target}/etc/hosts" <<-EOF
127.0.0.1 localhost
+ 127.0.0.1 ${hostname}
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback