Create CentOS 7 Base Software Channel, Spacewalk

Open [Channels] section, go for [Manage Software Channels] and click [Create]
Write down:
Channel Name:
CentOS 7 Base x86_64
Channel Label:
centos-7-base-x86_64
Architecture:
x86_64
Channel Summary:
centos-7-base-x86_64
Scroll down the page and enter:
GPG key URL:
http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7
GPG key ID:
F4A80EB5
GPG key Fingerprint:
6341 AB27 53D7 8A78 A7C2  7BB1 24C6 A8A7 F4A8 0EB5
Note. This data came from:
curl "http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7" > /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
cp /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 /var/www/html/pub/RPM-GPG-KEY-CentOS-7
gpg --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
pub 4096R/F4A80EB5 2014-06-23 CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>
Key fingerprint = 6341 AB27 53D7 8A78 A7C2 7BB1 24C6 A8A7 F4A8 0EB5
Click [Create Channel] at the end
Now again Open [Channels] section, go for [Manage Software Channels],
go for [Manage Repositories], click [Create Repository]
Fill down:
Repository Label:
centos-7-base-x86_64
Repository URL:
http://centos.koyanet.lv/centos/7/os/x86_64/
Click [Create Repository]
Now we have to create a connection between base channel and repository:
Go for [Channels], open [Manage Software Channels], click on YOUR base channel:
Go for [Repositories] tab, check YOUR repository and click [Update Repositories]:
Open up the command line and type:
spacewalk-repo-sync -c centos-7-base-x86_64
If you are planing to use kickstart future the use:
spacewalk-repo-sync -c centos-7-base-x86_64 --sync-kickstart
Continue with centos-7-updates-x86_64

No comments: