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

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to