Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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