Skip to content

Commit

Permalink
prepare for new first-setup version
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Feb 20, 2025
1 parent 44f6a89 commit b0ec002
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion vanilla_installer/utils/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,12 +544,20 @@ def gen_install_recipe(log_path, finals, sys_recipe):
# Create default user
# This needs to be done after mounting `/etc` overlay, so set it as
# late post-install
recipe.add_postinstall_step(
"shell",
[
"groupadd -g 1201 vanilla-first-setup",
],
chroot=True,
late=True,
)
recipe.add_postinstall_step(
"adduser",
[
"vanilla",
"vanilla",
["sudo", "lpadmin"],
["sudo", "lpadmin", "vanilla-first-setup"],
"vanilla",
1200,
],
Expand Down

0 comments on commit b0ec002

Please sign in to comment.