JasonN3 / build-container-installer

Creates an ISO for installing a container image as an OS
GNU General Public License v3.0
34 stars 8 forks source link

[FR] ability to create a user account for application services #111

Open 10leej opened 2 months ago

10leej commented 2 months ago

Is your feature request related to a problem? Please describe. I maintain an image for htpc and working on this to build an ISO for it however it seems like calling this is not a working solution and wondering is the user account needs to be created during instalation of a generated image

Describe the solution you'd like The ability to pre create a user account on the ISO image so it does not need to be manually generated

Describe alternatives you've considered A hacky systemd service to just create a user account on initial system boot that then disabled itself

If this bug can be solved via my image feel free to say so and just close the issue.

JasonN3 commented 2 months ago

This just creates an ISO to deploy an ostree based container using Anaconda. If you want to create the user outside of the installer (either as part of the image or as a pre-login process), that's up to you. Some of the variants disable the ability to create users during the installation process. For example, VARIANT=Silverblue doesn't allow user creation during installation.

Since you have the user already created in your image, you likely just need to change the variant so the installer skips the requirement to create another user. Try setting variant: Silverblue when calling the action. That may give you your desired installation behavior.

github-actions[bot] commented 1 week ago

Issue is stale and will be closed in 14 days if there is no further activity