In the wiki it mentions: This is rather experimental, but if
you have a provisioning need for fast local installs without hitting an outside
server repeatedly (say you have a slow pipe), you can try: cobbler repo-add
--name=insertnamehere --mirror=http://rhn-channel-name That's just the channel-name, no
server. This only works on RHEL5+ and you'll need entitlements for the channel
in question. Is this functional at this time? I’ve been
trying and this is what I get: Ø cobbler repo
add --name=RHEL5-i386-Server-Base --mirror=http://rhel-i386-server-5 Ø cobbler
reposync Ø - creating:
/var/www/cobbler/repo_mirror/.origin/RHEL5-i386-Server-Base.repo Ø -
/usr/bin/reposync --config=/var/www/cobbler/repo_mirror/.origin/RHEL5-i386-Server-Base.repo
--repoid=RHEL5-i386-Server-Base --download_path=/var/www/cobbler/repo_mirror Ø Traceback
(most recent call last): Ø File
"/usr/bin/reposync", line 196, in ? Ø main() Ø File
"/usr/bin/reposync", line 140, in main Ø my.doRepoSetup() Ø File
"/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in
doRepoSetup Ø repo.setup(self.conf.cache) Ø File
"/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 505, in setup Ø raise
Errors.RepoError, ('Cannot open/read repomd.xml file for repository: %s' %
self) Ø yum.Errors.RepoError:
Cannot open/read repomd.xml file for repository: RHEL5-i386-Server-Base Ø cobbler
reposync failed On another topic, how is the default kickstart file
chosen? As shipped the file /etc/cobbler/default.ks is empty and in
listed as the default in /var/lib/cobbler/settings. However, when I run “cobbler
report” the default kickstart is listed as /etc/cobbler/kickstart_fc6.ks.
Thanks, Marc Mondragon
|