Kaydet (Commit) a11ba831 authored tarafından sulincix's avatar sulincix

fixes 5

üst 369a1cc0
......@@ -471,26 +471,6 @@ class InstallerEngine:
our_total = 11
our_current = 4
# write host+hostname infos
print(" --> Writing hostname")
our_current += 1
self.update_progress(our_current, our_total, False,
False, ("Setting hostname"))
hostnamefh = open("/target/etc/hostname", "w")
hostnamefh.write("%s\n" % self.setup.hostname)
hostsfh = open("/target/etc/hosts", "w")
hostsfh.write("\t%s\n" % self.setup.hostname)
"# The following lines are desirable for IPv6 capable hosts\n")
hostsfh.write("::1 localhost ip6-localhost ip6-loopback\n")
hostsfh.write("fe00::0 ip6-localnet\n")
hostsfh.write("ff00::0 ip6-mcastprefix\n")
hostsfh.write("ff02::1 ip6-allnodes\n")
hostsfh.write("ff02::2 ip6-allrouters\n")
hostsfh.write("ff02::3 ip6-allhosts\n")
# set the locale
print(" --> Setting the locale")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment