Skip to content

Commit

Permalink
test: Add hack to work around timeouting podman.service
Browse files Browse the repository at this point in the history
  • Loading branch information
marusak committed Dec 16, 2020
1 parent c4ca0be commit c8cc4cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/vm.install
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ fi

systemctl enable cockpit.socket

# HACK: systemd kills the services after 90s
# See https://github.com/containers/podman/issues/8751
sed -i "s/Type=notify/Type=simple/" /usr/lib/systemd/system/podman.service
sed -i "s/Type=notify/Type=simple/" /usr/lib/systemd/user/podman.service

# don't force https:// (self-signed cert)
printf "[WebService]\\nAllowUnencrypted=true\\n" > /etc/cockpit/cockpit.conf

Expand Down

0 comments on commit c8cc4cf

Please sign in to comment.