summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-05-02 02:38:06 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-05-02 02:38:06 +0400
commitd8e5d55b4a1decf22f250545ddc375021a00022d (patch)
tree3b3b016efd0d7dbf84ea71010f7e9e5bdca81d94 /install
parentecfdcab2bcd1e155212fb65e16e31a0ec6044ce1 (diff)
downloadlive-d8e5d55b4a1decf22f250545ddc375021a00022d.tar.gz
Append nodename to /etc/hosts2013-05-05/netinst
Diffstat (limited to 'install')
-rwxr-xr-xinstall4
1 files changed, 4 insertions, 0 deletions
diff --git a/install b/install
index ff8201a..c0eceac 100755
--- a/install
+++ b/install
@@ -785,6 +785,10 @@ def configure_nodename():
f = open(rootdir + '/etc/nodename', 'w')
print(nodename, file=f)
f.close()
+ # XXX See http://bugs.debian.org/247734
+ f = open(rootdir + '/etc/hosts', 'a')
+ print('127.0.0.1\t'+nodename, file=f)
+ f.close()
except:
pass