cephadm: python3 shebang

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>
This commit is contained in:
Sage Weil 2019-12-20 11:50:00 -06:00
parent 757a605511
commit 074f1ff246
2 changed files with 2 additions and 1 deletions

View 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.

View File

@ -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'