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
-rw-r--r--examples/guided.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 2bb0af3d..7c2c976a 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -223,7 +223,7 @@ class Installer():
o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.mountpoint} gpasswd -a {user} {group}'))
if sudo:
- with open(f'{mountpoint}/etc/sudoers', 'a') as sudoers:
+ with open(f'{self.mountpoint}/etc/sudoers', 'a') as sudoers:
sudoers.write(f'{user}\n')
self.helper_flags['user'] = True
diff --git a/examples/guided.py b/examples/guided.py
index 3d450473..42807962 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -35,7 +35,7 @@ while 1:
new_user = input(new_user_text)
if len(new_user.strip()) == 0:
if len(root_pw.strip()) == 0:
- archinstall.log(' * Since root is disabled, you need to create a least one user!', bg='black', fg='red')
+ archinstall.log(' * Since root is disabled, you need to create a least one (super) user!', bg='black', fg='red')
continue
break
new_user_passwd = getpass.getpass(prompt=f'Password for user {new_user}: ')