From 7500d22bca4061a3dda8fd3f5c8c5ed21e747987 Mon Sep 17 00:00:00 2001 From: silvacarloss Date: Thu, 11 Nov 2021 18:59:40 -0300 Subject: [PATCH] Modify docker instalation for fedora systems Use install_package instead of using a specific package manager while installing docker on fedora systems. With DNF also a possibility, the better option is to do not take a stand in chosing which package manager will be used to install packages. We have a install_package function that will use the appropriate package manager to install the programs we need to install. Change-Id: I0524554dae2d6970191ba3afa583480c391b5c3c --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index ed3e1ecced..14ce3b747e 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -956,7 +956,7 @@ function install_docker_ubuntu { } function install_docker_fedora { - sudo yum install -y docker + install_package docker sudo systemctl enable docker sudo systemctl start docker }