From 9af116ada620fffc3239f43d8543b5893384938b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jarom=C3=ADr=20Wysoglad?= Date: Thu, 9 Nov 2023 10:21:55 +0100 Subject: [PATCH] Add uidmap installation for ubuntu distributions In order to interact with podman, we need the newuidmap binary. I've seen this being present on centos vms by default, but on some ubuntu / debian vms this isn't the case and the plugin fails to pull images. --- devstack/plugin.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index d6de6627..baf8786a 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -1,6 +1,9 @@ ### sg-core ### function preinstall_sg-core { install_package $SG_CORE_CONTAINER_EXECUTABLE + if is_ubuntu; then + install_package uidmap + fi } function install_sg-core {