RHEL8 - VMWare ISO - with Security Profile

Hi everyone,

I’m trying to build a packer image based on RHEL8.
Without security profile everything is working fine.

As soon as I activate a security profile, packer is not able to log-in.
This is due to a required password reset.

Any ideas how to work around this issue?

Kickstart

%addon org_fedora_oscap
        content-type = scap-security-guide
        profile = xccdf_org.ssgproject.content_profile_cis
%end

Got exactly same issue. Have you found any workaround for this?
Regards,

I had an issue with this, try adding a post install script into the KS.

### Post Install 
%post

### set root and username passwords to never expire.
chage -M -1 root
chage -M -1 ${username-variable}
 
### Post Install end
%end