References
- https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler
- https://fedorahosted.org/spacewalk/wiki/ManagingFedoraSystems
Kickstart with registration to Spacewalk
Fedora 17 has some 26,000 packages on the Base Channel. The Distribution Tree's repodata, as supplied by a DVD ISO image, has a few thousand. Guess what:- there are four packages required as dependencies of Spacewalk-client v1.7 that are not on the standard DVD ISO!
- the packages on the Base Channel from spacewalk are not accessible during a kickstart because the repodata for the base channel is supplied externally from Spacewalk, the Distro-Tree. However, child channels' repodata are available during a kickstart. Who designs this rubbish?
The solution is to create a new "child channel" of the Fedora 17 Base Channel in your spacewalk server. The name is irrelevant but it seems to be convention to put "-tools" in its name. Once you have your empty child channel add the following four packages from the parent/base channel. Essentially these four packages will be frozen in time so even as the parent channel receives updates the child channel will not, unless compare the parent and child and promote the updates into the child channel manually.
- m2crypto
- python-dmidecode
- python-gudev
- python-hwdata
- rhn-client-tools
- rhn-setup
Distro-Trees
In regard to "distro-trees" you need some files from three directories from the DVD ISO image, at least for Fedora17. This is a huge space saver. It is strange that we have to use the metadata from a static DVD image. However I understand the requirement from vmlinuz, initrd.img and squashfs.img.- images/pxeboot/vmlinuz
- images/pxeboot/initrd.img
- LiveOS/squashfs.img
- repodata/*
No comments:
Post a Comment