From 7b6d91fb78be31c9a95b10ad01765eb627784119 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Tue, 27 Nov 2018 00:30:26 +0100 Subject: [PATCH 1/4] f30 python3 execs --- src/ceph-create-keys | 2 +- src/ceph-volume/bin/ceph-volume | 2 +- src/ceph-volume/bin/ceph-volume-systemd | 2 +- src/ceph.in | 2 +- src/mount.fuse.ceph | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ceph-create-keys b/src/ceph-create-keys index c14c02f28d..7e80aab6a2 100755 --- a/src/ceph-create-keys +++ b/src/ceph-create-keys @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 import argparse import errno import json diff --git a/src/ceph-volume/bin/ceph-volume b/src/ceph-volume/bin/ceph-volume index 5905cfccc0..a4f62b4a1f 100755 --- a/src/ceph-volume/bin/ceph-volume +++ b/src/ceph-volume/bin/ceph-volume @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 from ceph_volume import main diff --git a/src/ceph-volume/bin/ceph-volume-systemd b/src/ceph-volume/bin/ceph-volume-systemd index 7da8ec6b1c..f6c751cf44 100755 --- a/src/ceph-volume/bin/ceph-volume-systemd +++ b/src/ceph-volume/bin/ceph-volume-systemd @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 from ceph_volume.systemd import main diff --git a/src/ceph.in b/src/ceph.in index c37ce6d846..c54f9a7006 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -1,4 +1,4 @@ -#!@PYTHON_EXECUTABLE@ +#!@PYTHON3_EXECUTABLE@ # -*- mode:python -*- # vim: ts=4 sw=4 smarttab expandtab # diff --git a/src/mount.fuse.ceph b/src/mount.fuse.ceph index 87349a0ab0..c61625a8c2 100755 --- a/src/mount.fuse.ceph +++ b/src/mount.fuse.ceph @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 ''' Helper to mount ceph-fuse from /etc/fstab. To use, add an entry like: -- 2.19.1