diff options
-rwxr-xr-x | install | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |