[et-mgmt-tools] Question about cobbler repo add w/ RHN
Marc Mondragon
marcmo at foxriver.com
Wed Apr 25 15:56:55 UTC 2007
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.rep
o --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
Fox River Financial Resources/Ritchie Capital Investments, Ltd.
2100 Enterprise Avenue
Geneva, IL 60134
marcmo at foxriver.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070425/4a150378/attachment.htm>
More information about the et-mgmt-tools
mailing list