I'm implementing Cobbler in order to deploy both CentOS servers and Fedora desktops. In the %post section of the the kickstart, I call my own post_authentication script in order to set some authconfig parameters:
authconfig --enablemkhomedir --updateall
authconfig --enableldap --enableldapauth --enableldaptls \
--ldapserver=<ldap server> --ldapbasedn=<ldap basedn> \
--ldaploadcacert=http://www.cacert.org/certs/root.crt --updateall
On CentOS 5 and 6 this goes well, however on Fedora 16 the authconfig commands are not executed, with the following comment in the kickstart log:
Running in chroot, ignoring request.
I can find no documentation whatsoever on authconfig and chrooted environments. Has anyone else seen this behavior? What can I do to run authconfig in the %post section of my kickstart? How could I automate this authconfig otherwise (can you extend the firstboot with your own custom scripts)?