安裝OpenStack的yum源

 

# yum install https://buildlogs.centos.org/centos/7/cloud/x86_64/openstack-liberty/centos-release-openstack-liberty-1-3.el7.noarch.rpm
# yum install https://repos.fedorapeople.org/repos/openstack/EOL/openstack-liberty/rdo-release-liberty-5.noarch.rpmcentos

# ls
CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
# cat CentOS-Base.repo less

#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-centos/7 - Base
#mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=os
baseurl=https://mirrors.aliyun.com/centos/7/os/$basearch/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7

#released updates 
[updates]
name=CentOS-centos/7 - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=updates
baseurl=https://mirrors.aliyun.com/centos/7/updates/$basearch/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-centos/7 - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=extras
baseurl=https://mirrors.aliyun.com/centos/7/extras/$basearch/
gpgcheck=1
gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-centos/7 - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=centosplus
baseurl=https://mirrors.aliyun.com/centos/7/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7

#contrib - packages by Centos Users
[contrib]
name=CentOS-centos/7 - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=centos/7&arch=$basearch&repo=contrib
baseurl=https://mirrors.aliyun.com/centos/7/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=https://mirrors.aliyun.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7

# lsui

CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
# cat CentOS-OpenStack-liberty.repo this

# CentOS-OpenStack-liberty.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/Cloud for more
# information

[centos-openstack-liberty]
name=CentOS-$releasever - OpenStack liberty
baseurl=http://buildlogs.centos.org/centos/$releasever/cloud/$basearch/openstack-liberty/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud

[centos-openstack-liberty-test]
name=CentOS-$releasever - OpenStack liberty Testing
baseurl=http://buildlogs.centos.org/centos/$releasever/cloud/$basearch/openstack-liberty/
gpgcheck=0
enabled=1

# lsurl

CentOS-Base.repo CentOS-OpenStack-liberty.repo old rdo-release.repo rdo-testing.repo
#
# cat rdo-release.repo rest

[openstack-liberty]
name=OpenStack Liberty Repository
baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Cloud

# cat rdo-testing.repo orm

[openstack-liberty-testing]
name=OpenStack Liberty Testing
baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-liberty/
gpgcheck=0
enabled=0

[rdo-trunk-liberty-tested]
name=OpenStack Liberty Trunk Tested
baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/rdo-trunk-liberty-tested/
gpgcheck=0
enabled=0
相關文章
相關標籤/搜索