Configuring a Yum Source
Configure the Yum source on all nodes and enable the EPOL software repository to support OpenStack.
- Configure the Yum configuration file.
- Open the Yum configuration file.
vi /etc/yum.conf
- Add the following content to the end of the file:
sslverify=false
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Open the Yum configuration file.
- Install and enable the Yum source for OpenStack Train.
yum -y install openstack-release-train.noarch yum clean all && yum makecache
- Configure the Yum source. Enable the EPOL software repository to support OpenStack.
- Open the file.
vi /etc/yum.repos.d/openEuler.repo
- Press i to enter the insert mode and modify the following content:
[EPOL] name=EPOL baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/EPOL/main/$basearch/ metalink=https://mirrors.openeuler.org/metalink?repo=$releasever/EPOL/main&arch=$basearch metadata_expire=1h enabled=1 gpgcheck=1 gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP2/OS/$basearch/RPM-GPG-KEY-openEuler
If enabled is 1, the EPOL software repository is enabled. In this case, skip 3.b and later operations in this section.
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
- Clear the cache and re-create a cache.
yum clean all && yum makecache
- Open the file.
Parent topic: Configuring the Deployment Environment