From: David Galloway Date: Thu, 26 May 2022 15:54:30 +0000 (-0400) Subject: ceph-container-{lint,flake8}: Start podman too X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2016%2Fhead;p=ceph-build.git ceph-container-{lint,flake8}: Start podman too Installing 'docker' on CentOS8 installs podman (and podman-docker). One cannot restart the service by calling 'docker' however. Signed-off-by: David Galloway --- diff --git a/ceph-container-flake8/build/build b/ceph-container-flake8/build/build index 6c09fc93..ebfbf305 100755 --- a/ceph-container-flake8/build/build +++ b/ceph-container-flake8/build/build @@ -33,7 +33,7 @@ function main() { then sudo yum -y install epel-release sudo yum -y install docker jq - sudo systemctl start docker + sudo systemctl start docker || sudo systemctl start podman pull_request_id=${ghprbPullId:-$2} workspace=${WORKSPACE:-$1} else diff --git a/ceph-container-lint/build/build b/ceph-container-lint/build/build index e6e606d8..013ab6d1 100755 --- a/ceph-container-lint/build/build +++ b/ceph-container-lint/build/build @@ -36,7 +36,7 @@ function main() { then sudo yum -y install epel-release sudo yum -y install docker jq - sudo systemctl start docker + sudo systemctl start docker || sudo systemctl start podman pull_request_id=${ghprbPullId:-$2} workspace=${WORKSPACE:-$1} else