aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2020-03-16 15:16:31 +0000
committerMark Goddard <mark@stackhpc.com>2020-04-15 14:17:40 +0100
commit788978211326093e10795c611971ca8911e2a986 (patch)
tree988b081b5d4973bbf93b037a82f540bd6bd28986 /kolla
parent53443c5c712f4ec23b859105e94bcd90abc27762 (diff)
downloadkolla-788978211326093e10795c611971ca8911e2a986.tar.gz
kolla-788978211326093e10795c611971ca8911e2a986.zip
CentOS 8: Switch last mentions of yum to dnf
Change-Id: I31e9742793cfb1abff9749083c9ce86000dae1af Partially-Implements: blueprint centos-rhel-8
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/image/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 7f5c833e4..dec484af6 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -833,8 +833,8 @@ class KollaWorker(object):
for config in rpm_setup_config:
if config.endswith('.rpm'):
- # RPM files can be installed with yum from file path or url
- cmd = "RUN yum -y install {}".format(config)
+ # RPM files can be installed with dnf from file path or url
+ cmd = "RUN dnf -y install {}".format(config)
elif config.endswith('.repo'):
if config.startswith('http'):
# Curl http://url/etc.repo to /etc/yum.repos.d/etc.repo