Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-09 12:43:14 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-09 12:43:14 +0200
commit5c8d210f5f2024723b69af6f260f055a98ce9903 (patch)
tree909eefca7383c7afc915beefb29eb7d80873b8a1
parent59e3408de838206bad24fa0d8ca34b47f71e17aa (diff)
Wrong use of hostname in the set_hostname() function.
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
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