[et-mgmt-tools] Default "Base" repo file name for CentOS in kickstart is wrong.
Shimizu Kuniaki
kunkichi at gmail.com
Fri Oct 5 13:45:49 UTC 2007
Hi, again.
One more tiny thing, Only for using CentOS.
changing yum_core_mirror_from_server to 1 in
/var/lib/cobbler/settings, %post section in kickstart file is like
this:
-----
%post
wget http://192.168.0.254/cobbler/ks_mirror/config/centos5-i386-0.repo
--output-document=/etc/yum.repos.d/centos5-i386-0.repo
...snip...
test -e /etc/yum.repos.d/Centos-Base.repo && mv
/etc/yum.repos.d/Centos-Base.repo
/etc/yum.repos.d/disabled-Centos-Base
----
CentOS's default "Base" repo file name is
"/etc/yum.repos.d/CentOS-Base.repo", not "Centos".
# diff action_sync.py action_sync.py.NEW
436c436
< for x in ["fedora-core", "Centos-Base"] :
---
> for x in ["fedora-core", "CentOS-Base"] :
works for CentOS5 and maybe CentOS4.
really tiny one :)
Kuniaki Shimizu
More information about the et-mgmt-tools
mailing list