Re: kickstart question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux