From: Alfredo Deza Date: Wed, 8 Nov 2017 14:47:12 +0000 (-0500) Subject: ceph-volume systemd.systemctl masking needs to use systemctl mask, not disable X-Git-Tag: v13.0.1~256^2~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bad2f62b34243addc854abf691854b886aecdc19;p=ceph.git ceph-volume systemd.systemctl masking needs to use systemctl mask, not disable Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/systemd/systemctl.py b/src/ceph-volume/ceph_volume/systemd/systemctl.py index 2a5364ae79a5..651ed3acf5fa 100644 --- a/src/ceph-volume/ceph_volume/systemd/systemctl.py +++ b/src/ceph-volume/ceph_volume/systemd/systemctl.py @@ -21,7 +21,7 @@ def disable(unit): def mask(unit): - process.run(['sudo', 'systemctl', 'disable', unit]) + process.run(['sudo', 'systemctl', 'mask', unit]) def start_osd(id_):