Kaydet (Commit) 504523fa authored tarafından Your Name's avatar Your Name

hostname fix

üst 7f777b3a
......@@ -435,6 +435,11 @@ class InstallerEngine:
self.setup.language)
self.do_run_in_chroot("cat /etc/env.d/* | grep -v \"^#\" > /etc/environment")
# set the hostname
print(" --> Setting the hostname")
os.system("echo \"%s\" > /target/etc/hostname" % self.setup.hostname)
# set the timezone
print(" --> Setting the timezone")
os.system("echo \"%s\" > /target/etc/timezone" % self.setup.timezone)
......
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