By default, when you've run import on a distro, the cobbler server is
configured as the default source in the kickstart assuming you have the
$yum_repo_stanza and $yum_config_stanza variables in your kickstart (refer
to the sample_end.ks we package to see where they go). Typically you will
not setup a repo for the base distro, but you will usually setup repos for
updates/security/EPEL etc.
If you added the distro manual with "distro add", you'll need to add the
tree variable to the distros ksmeta:
$ cobbler distro edit --name=<your distro name> --in-place
--ksmeta="tree=http://@@http_server@@/cblr/links/<dir>"
Where <dir> is the directory (symlink) in /var/www/cobbler/links/ that
points at your distro.
On Thu, Sep 19, 2013 at 10:11 PM, T Dickinson <
theo.dickinson(a)blueglue.com.au> wrote:
I would like my RHEL/CentOS installed servers (provisioned via cobbler) to
refer back to the cobbler server for all yum updates/installs.
I understand that is easy for mirrored repos, but how do I configure
cobbler so that the distro is used (after the kickstart is over) ?
Im using 2.4 should my installed server's yum repos point at the cobbler
server for the base repos? I'm using CentOS-5.9 and
/etc/yum.repos.d/CentOS-Base.repo does not point to my server hence any
post install yum calls go to internet. Should I create a Repo for the
Distro I've installed… this post hints at my dilema
http://www.redhat.com/archives/et-mgmt-tools/2007-September/msg00128.html
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler