]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume systemd.systemctl masking needs to use systemctl mask, not disable
authorAlfredo Deza <adeza@redhat.com>
Wed, 8 Nov 2017 14:47:12 +0000 (09:47 -0500)
committerAlfredo Deza <adeza@redhat.com>
Mon, 13 Nov 2017 15:20:19 +0000 (10:20 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit bad2f62b34243addc854abf691854b886aecdc19)

src/ceph-volume/ceph_volume/systemd/systemctl.py

index 2a5364ae79a5c65e0ad7cb0079a2041f526e7a93..651ed3acf5fa195b02ce1d7b01876a953c11201b 100644 (file)
@@ -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_):