====== spacewalk ======
===== basics =====
- Installation [[https://fedorahosted.org/spacewalk/wiki/HowToInstall]]
- you must recompile ''selinux-policy'' with a newer version (on centos)
- [[https://bugzilla.redhat.com/show_bug.cgi?id=729521]]
- use the find -exec loop to import the Base repo: find . -type f -iname \*.rpm -exec echo "rpm: {}" \; -exec rhnpush --server localhost -u jfriar -p PASSWORD --channel centos6-x86_64 {} \;
- a few edits in cobbler for using eth1 ip instead of eth0
- need a dhcp server (haven't tried to use cobbler for this)
- Kickstart [[https://fedorahosted.org/spacewalk/wiki/HowToKickstartCobbler]]
- edit ''/var/lib/cobbler/kickstarts/default.ks''
- run: cobbler check
- some dhcp configuration info [[https://fedorahosted.org/spacewalk/wiki/kickstartingLabNetworkingSetup]]
- kickstart options [[http://fedoraproject.org/wiki/Anaconda/Kickstart#Chapter_2._Kickstart_Options]]
- cheetah, the cobbler kickstart templating engine [[https://fedorahosted.org/cobbler/wiki/KickstartTemplating]]
- Client setup [[https://fedorahosted.org/spacewalk/wiki/RegisteringClients]]
- need to install some local rpms
- need to import keys: rpm --import /etc/pki/rpm-gpg/Centos-*
- add channel subscriptions in spacewalk for client
===== gpg stuff =====
* gpg keys:
* CentOS: [[http://mirror.centos.org/centos/]]
* Spacewalk: [[http://spacewalk.redhat.com/yum/]]
* EPEL: [[http://download.fedora.redhat.com/pub/epel/]]
* read a key: gpg --quiet --with-fingerprint RPM-GPG-KEY-CentOS-6
pub 4096R/C105B9DE 2011-07-03 CentOS-6 Key (CentOS 6 Official Signing Key)
Key fingerprint = C1DA C52D 1664 E8A4 386D BA43 0946 FCA2 C105 B9DE
* GPG key id: C105B9DE
===== notes =====
* [[http://honglus.blogspot.com/2011/06/spacewalk-provision-red-hat-linux-by.html]]
* [[http://wiki.centos.org/HowTos/PackageManagement/Spacewalk]]
==
{{tag>:linux:server :linux}}