]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-container-{lint,flake8}: Start podman too 2016/head
authorDavid Galloway <dgallowa@redhat.com>
Thu, 26 May 2022 15:54:30 +0000 (11:54 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Thu, 26 May 2022 15:54:30 +0000 (11:54 -0400)
Installing 'docker' on CentOS8 installs podman (and podman-docker). One cannot restart the service by calling 'docker' however.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-container-flake8/build/build
ceph-container-lint/build/build

index 6c09fc93aa88820ae6d728b7c95e88941b96f594..ebfbf3058610e73d539bac4b9f11170351c457e6 100755 (executable)
@@ -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
index e6e606d8316149822d6f2c8682a2d5f61e6df672..013ab6d1986667ddb06317f46800143c64c449f3 100755 (executable)
@@ -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