-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
image-builder-2
-
Image Builder 16
-
5
Add support for groups:
- This should include playwright tests.
- Add some guidance text to suggest users add groups when adding a group to a user.
- Add help text that says groups for users are automatically created and users are added
- Consult with UXD for any help
- Include it with the users area
Issue: Image build is failing with group not found while trying to add user under certain group.
Steps to reproduce:
Create a user "test" under group "Org"
Save the blueprint and click on Build Images
image build failed with " Group Org doesn't exist "
Root cause:
While the blueprint defines a user (test) and assigns them to the group "Org", the group itself (Org) must be explicitly defined if it doesn't already exist by default in the image. However there is no option to define the group explicitly while creating blueprint.
Expectations:
There should be an option of defining a group explicitly or group should automatically be created while a user is added to certain group.
Workaround (I tested) seems to be defining the user and group in the bash script in ** First Boot Script :
#!/bin/bash
groupadd Org
useradd -m -s /bin/bash -G Org test
clouduserecho "test:YourPlainTextPassword" | chpasswd
- depends on
-
HMS-9825 osbuild: add force option to org.osbuild.group (stop failing when adding existing group)
-
- New
-