From cffad6fdc098167b59e880960a8201c07ba3eff9 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 (cherry picked from commit 7500d22bca4061a3dda8fd3f5c8c5ed21e747987) --- devstack/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 9400f17080..e6e5ecec00 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -970,7 +970,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 }