Create CentOS 5 base channel, assign repository

Go for [Channels] -> [Manage Software Channels], Click [Create Channel]:

Channel Name:
CentOS 5 Base i386
Channel Label:
centos-5-base-i386
Architecture:
IA-32
Channel Summary
CentOS 5 Base i386
Execute at the command line:
curl http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 > /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
cp /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 /var/www/html/pub/RPM-GPG-KEY-CentOS-5
gpg --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
This will create content which is needed to use in next steps:
pub  1024D/E8562897 2007-01-06 CentOS-5 Key (CentOS 5 Official Signing Key) <centos-5-key@centos.org>
      Key fingerprint = 473D 66D5 2122 71FD 51CC  17B1 A8A4 47DC E856 2897
sub  1024g/1E9EA3B6 2007-01-06 [expires: 2017-01-03]
GPG key URL:
http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
GPG key ID:
E8562897
GPG key Fingerprint:
473D 66D5 2122 71FD 51CC  17B1 A8A4 47DC E856 2897
Click [Create Channel]

Go for [Channels] -> [Manage Software Channels] -> [Manage Repositories], Click [Create Repository]:
Repository Label:
CentOS 5 Base i386
Repository URL:
http://vault.centos.org/5.11/os/i386/
Click [Create Repository]

Go for [Channels] -> [Manage Software Channels], Open "CentOS 5 Base i386"

For for [Repositories] tab, set checkbox into "CentOS 5 Base i386" repository

Click [Update Repository]

Execute at the command line:
spacewalk-repo-sync -c centos-5-base-i386
If you want to install CentOS 5 in futeure via Kickstart then execute:
spacewalk-repo-sync -c centos-5-base-i386--sync-kickstart

No comments: