index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-09 12:43:14 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-04-09 12:43:14 +0200 |
commit | 5c8d210f5f2024723b69af6f260f055a98ce9903 (patch) | |
tree | 909eefca7383c7afc915beefb29eb7d80873b8a1 /archinstall/lib | |
parent | 59e3408de838206bad24fa0d8ca34b47f71e17aa (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 2 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index d242f1ee..5af3c226 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -146,7 +146,7 @@ class Installer(): def set_hostname(self, hostname :str, *args, **kwargs): with open(f'{self.target}/etc/hostname', 'w') as fh: - fh.write(self.hostname + '\n') + fh.write(hostname + '\n') def set_locale(self, locale, encoding='UTF-8', *args, **kwargs): if not len(locale): return True |