index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-13 07:07:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 07:07:31 +0000 |
commit | 47dbda144282c2dd6ec6c8f319a37ebfc6a729b6 (patch) | |
tree | 2b9671e8339ffc1df398ef7a03b1556a7b0d3c72 | |
parent | e4b2742192ebaf5654a601e2181bee04422be823 (diff) | |
parent | f6d6e0328eb95a29ebbc0f4a6f596831aed28227 (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 6 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 7aa64816..f21287c3 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -443,6 +443,12 @@ class Installer(): o = b''.join(sys_command(f"/usr/bin/arch-chroot {self.target} sh -c \"echo '{user}:{password}' | chpasswd\"")) pass + + def user_set_shell(self, user, shell): + self.log(f'Setting shell for {user} to {shell}', level=LOG_LEVELS.Info) + + o = b''.join(sys_command(f"/usr/bin/arch-chroot {self.target} sh -c \"chsh -s {shell} {user}\"")) + pass def set_keyboard_language(self, language): if len(language.strip()): |