]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: python3 shebang 32378/head
authorSage Weil <sage@redhat.com>
Fri, 20 Dec 2019 17:50:00 +0000 (11:50 -0600)
committerSage Weil <sage@redhat.com>
Fri, 20 Dec 2019 18:47:56 +0000 (12:47 -0600)
We need to figure out if/how we can make this as tolerant as possible for
the curl users so that it can still run on a python2-only host.

Maybe.

Signed-off-by: Sage Weil <sage@redhat.com>
ceph.spec.in
src/cephadm/cephadm

index 59d539ce3814fba3e0856443e7c1a159d74cb193..eda6893b456c50d9465532ab0dec95098a891fc5 100644 (file)
@@ -390,6 +390,7 @@ Base is the package that includes all the files shared amongst ceph servers
 Summary:        Utility to bootstrap Ceph clusters
 Requires:       podman
 Requires:       lvm2
+Requires:       python%{python3_pkgversion}
 %description -n cephadm
 Utility to bootstrap a Ceph cluster and manage Ceph daemons deployed 
 with systemd and podman.
index 526f9a0cefe318c85d79063050d7e9173cb24984..4085e89dcdcf1855418b9ea358ddd66db3cf73ab 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 DEFAULT_IMAGE='ceph/daemon-base:latest-master-devel'  # FIXME when octopus is ready!!!
 DATA_DIR='/var/lib/ceph'