index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-08-31 21:12:19 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-08-31 21:12:19 +0200 |
commit | b91699c0e55cc43581d8f1d84886d296e02611de (patch) | |
tree | eccebbd3a2684d6f460a9b9b67b6bf91e63f92d0 /archinstall | |
parent | 129f7f23fad627a3a42f625663504e7b239f2232 (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 2 |
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 |