Default "Base" repo file name for CentOS in kickstart is wrong.

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

 



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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux