In the %post section of my kickstart script, I've created multiple directories that's required before Puppet takes over. I noticed 2 of my directories under /mnt
do not get created. I'm wondering if this has to do w/ the way kickstart handles temporary images and what not. I know I'm able to create directories since I created something under / (mkdir -p /export/home
) during the process as well. Upon reboot I see /export/home
but not /mnt/volume1
and /mnt/volume2
Try logging the %post section, as shown in wiki.centos.org/TipsAndTricks/KickStart , Logging %pre and %post. All output and errors will be printed to a logfile.
I prefer the following method instead of
%post --log
because--log
will sometimes miss some errors.