Tom Brown wrote:
Hi
After a kickstart install how do you get a yum update to run as the
final stage of the install?
a 'yum update' in the %post does not seem to do anything at all - no
errors just nothing?
Try this in your kickstart file:
%post --interpreter /bin/bash
yes | yum update
Without the '--interpreter /bin/bash' the code will (I think) be
interpreted as python. Also, when you run 'yum update' you are prompted
to confirm that you want to go ahead and update the listed packages, and
so you need to pipe 'yes' through it.
Hope this helps,
Joe
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos