Rocky 10 kickstart failing to create user

Under user section for ks.cfg:

rootpw --iscrypted --lock locked
user --name=pack --groups=wheel --gecos=“Image user” --iscrypted --password=$6$_long_hash_here

Kickstart fails on user add:

pyanaconda.modules.common.errors.general.AnacondaError: Unable to create user pack: status=16

Note, packages section has:

@^minimal-environment
shadow-utils

Using Rocky 10.0 minimal iso for build.

I’m trying to install with root disabled and with a pack user to use for console login and such. Note, the install proceeds if I don’t create an additional user but when it reboots it tries to invoke the install again. I’m using ks reboot command to recycle the box after the build.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.