index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <blackrabbit256@gmail.com> | 2022-05-27 05:48:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 21:48:29 +0200 |
commit | 870da403e79ab50350803b45f200e0b272334989 (patch) | |
tree | 9b203a054bd10cbc73a81b4fd5fe24ef8e6f141a /examples/minimal.py | |
parent | 353c05318ce80b8eec32031c9e14b8471b458548 (diff) |
-rw-r--r-- | examples/minimal.py | 6 |
diff --git a/examples/minimal.py b/examples/minimal.py index d80c4045..8b4c847f 100644 --- a/examples/minimal.py +++ b/examples/minimal.py @@ -1,6 +1,8 @@ import archinstall # Select a harddrive and a disk password +from archinstall import User + archinstall.log("Minimal only supports:") archinstall.log(" * Being installed to a single disk") @@ -28,8 +30,8 @@ def install_on(mountpoint): installation.add_additional_packages(['nano', 'wget', 'git']) installation.install_profile('minimal') - installation.user_create('devel', 'devel') - installation.user_set_pw('root', 'airoot') + user = User('devel', 'devel', False) + installation.create_users(user) # Once this is done, we output some useful information to the user # And the installation is complete. |