summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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