Skip to content

Commit

Permalink
Add uidmap installation for ubuntu distributions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vyzigold committed Nov 9, 2023
1 parent b2ee6d9 commit 9af116a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devstack/plugin.sh
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down

0 comments on commit 9af116a

Please sign in to comment.