View Issue Details

IDProjectCategoryView StatusLast Update
0016550CentOS-8anacondapublic2020-10-08 12:15
Reportermisconfig Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSCentOS8OS Version1905
Product Version8.0.1905 
Summary0016550: CentOS 8 Kickstart does not create user
DescriptionWhile working on upgrading our image build processes to support CentOS 8, I've discovered that we couldn't login with our default 'vagrant' user that's specified in our kickstart profile.

This has been working on CentOS7 for years now and we can only get it to work by specifying the user information in a %post install script. After searching github for this very issue I've come across someone else who has run into this as well: https://github.com/geerlingguy/packer-centos-8/issues/1#issuecomment-535026847

I've also tried removing the --plaintext option and using --iscrypted to see if that would fix it but to no avail.
Steps To ReproduceBoot CentOS8 kickstart install with user configuration: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/performing_an_advanced_rhel_installation/kickstart-commands-and-options-reference_installing-rhel-as-an-experienced-user#user_kickstart-commands-for-system-configuration
Tagscentos 8, kickstart

Activities

klj613

klj613

2020-10-08 12:15

reporter   ~0037799

I just came across this.

Seems the fix is removing the group "vagrant" from "--groups":

user --name=vagrant --plaintext --password=vagrant --groups=vagrant,wheel
->
user --name=vagrant --plaintext --password=vagrant --groups=wheel

Issue History

Date Modified Username Field Change
2019-10-07 15:17 misconfig New Issue
2019-10-07 15:17 misconfig Tag Attached: centos 8
2019-10-07 15:17 misconfig Tag Attached: kickstart
2020-10-08 12:15 klj613 Note Added: 0037799