geerlingguy / packer-boxes

Jeff Geerling's Packer build configurations for Vagrant boxes.
https://app.vagrantup.com/geerlingguy
MIT License
651 stars 304 forks source link

Fix KS vagrant user creation #67

Closed rjhornsby closed 4 years ago

rjhornsby commented 4 years ago

It fails silently, but KS can't create the vagrant user because the KS command couldn't add the user to the group vagrant that didn't exist yet. KS will automagically create the vagrant group as part of creating the user.

https://docs.centos.org/en-US/8-docs/advanced-install/assembly_kickstart-commands-and-options-reference/#user_kickstart-commands-for-system-configuration

geerlingguy commented 4 years ago

Thanks, I'll have to do a test build manually to verify it works correctly, then I'll merge once verified.

geerlingguy commented 4 years ago

It worked! That was it, thanks!