[CentOS] more kickstart - saving %pre decisions for %post

Alan McKay alan.mckay at gmail.com
Wed Jan 13 15:06:12 UTC 2010


On Wed, Jan 13, 2010 at 9:48 AM, John Doe <jdmls at yahoo.com> wrote:
> It means, if you don't use -nochroot, the '/', when in post, will be '/mnt/sysimage'.
> If you do use -nochroot, the '/' will be '/'.

Hmmm, that is behaving differently that what I see.

I have never used --nochroot, and / is /.   For quite some time now in
%post I've been manipulating files in /etc and they are /etc/ after
the new image boots.

Or does --nochroot go in %pre?   Not according to that link I guess




-- 
“Don't eat anything you've ever seen advertised on TV”
         - Michael Pollan, author of "In Defense of Food"



More information about the CentOS mailing list