[CentOS] Re: kickstart question

Sat Feb 2 20:42:50 UTC 2008
Jerry Geis <geisj at pagestation.com>

>>
> Ok I found a %post section in kickstart but is it valid to
> put a "yum -y update" there?
>
>
----------------
%post
export PATH=/usr/bin:$PATH

echo "Yum Update"
yum -y update yum
yum -y update
yum clean all
-----------------

I did make a %post section in my file, added the "yum -y update" (got a 
machine to try it on)

and looks like a couple things happened:

1) It could not find the mirror. Even though I'm running DHCP I would 
not resolve a name after
switching to one of the character consoles.

2) root is still /mnt/sysimage. Do I need to change that by running 
chroot /mnt/sysimage before
running the yum -y update

THanks, for the suggestions.

Jerry