index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Dylan M. Taylor <dylan@dylanmtaylor.com> | 2021-04-12 16:06:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 16:06:50 -0400 |
commit | f6d6e0328eb95a29ebbc0f4a6f596831aed28227 (patch) | |
tree | 2b9671e8339ffc1df398ef7a03b1556a7b0d3c72 /archinstall/lib/installer.py | |
parent | e4b2742192ebaf5654a601e2181bee04422be823 (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()): |