Skip to content

Commit

Permalink
test: Install podman 2.0.4 from updates-testing
Browse files Browse the repository at this point in the history
This avoids running into the API breakage of 2.0.3:
containers/podman#7078
  • Loading branch information
martinpitt committed Aug 3, 2020
1 parent 088b855 commit 88e3b2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/vm.install
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ if [ -d /var/tmp/debian ]; then
systemctl disable docker.service io.podman.service
fi

# HACK: avoid leaking processes with podman < 2.0.4; see https://github.com/containers/podman/commit/2b6dd3fb4384
sed -i '/KillMode=process/d; s/Type=oneshot/Type=simple/' /lib/systemd/user/podman.service /lib/systemd/system/podman.service
if rpm -q podman >/dev/null 2>&1; then
# HACK: podman 2.0.3 breaks API; upgrade to 2.0.4 in updates-testing
dnf update -y --enablerepo=updates-testing podman
fi

systemctl enable cockpit.socket

Expand Down

0 comments on commit 88e3b2b

Please sign in to comment.