Wrong use of hostname in the set_hostname() function.
This commit is contained in:
parent
59e3408de8
commit
5c8d210f5f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue