From: Sebastian Wagner Date: Thu, 9 Apr 2020 07:50:37 +0000 (+0200) Subject: cephadm: add-repo: Don't test for podman X-Git-Tag: v15.2.2~59^2~16 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=458551b78b3366b7a8e184254f13eb02699693e2;p=ceph.git cephadm: add-repo: Don't test for podman Fixes: ``` root@buster:/cephadm# ./cephadm add-repo Unable to locate any of ['podman', 'docker'] ``` Signed-off-by: Sebastian Wagner (cherry picked from commit 0d22708cc2f858491604b09f87e7af742884cb3c) --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 05b6fd0ba61..0843314e8d2 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -4470,7 +4470,8 @@ if __name__ == "__main__": break except Exception as e: logger.debug('Could not locate %s: %s' % (i, e)) - if not container_path and args.func != command_prepare_host: + if not container_path and args.func != command_prepare_host\ + and args.func != command_add_repo: sys.stderr.write('Unable to locate any of %s\n' % CONTAINER_PREFERENCE) sys.exit(1)