packer: add a workaround for broken podman from 9.1
Podman doesn't work when installed from 9.1 repositories on 9.0 image. I found that upgrading the whole system helps. Sadly, that requires removing python-unversioned-command for some reason. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
5669e05264
commit
422281698a
1 changed files with 6 additions and 0 deletions
|
|
@ -22,6 +22,12 @@ elif [ -n "$GIT_BRANCH" ]; then
|
|||
fi
|
||||
|
||||
if [ "$ON_JENKINS" = false ]; then
|
||||
# work around not working podman from 9.1 on a 9.0 image
|
||||
# see https://bugzilla.redhat.com/show_bug.cgi?id=2143282
|
||||
# TODO: Remove me when the bug is fixed or we switch to 9.1
|
||||
sudo dnf remove -y python-unversioned-command
|
||||
sudo dnf upgrade -y
|
||||
|
||||
sudo dnf install -y podman jq
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue