From: Alfredo Deza Date: Wed, 18 Apr 2018 00:28:14 +0000 (-0400) Subject: ceph-volume lvm.common add --no-systemd flag to skip enabling/starting services X-Git-Tag: v13.1.0~190^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=832da49ca8f1a57807f8a892cd734aa9b37216a6;p=ceph.git ceph-volume lvm.common add --no-systemd flag to skip enabling/starting services Signed-off-by: Alfredo Deza --- diff --git a/src/ceph-volume/ceph_volume/devices/lvm/common.py b/src/ceph-volume/ceph_volume/devices/lvm/common.py index 869fcf20016d..332398972118 100644 --- a/src/ceph-volume/ceph_volume/devices/lvm/common.py +++ b/src/ceph-volume/ceph_volume/devices/lvm/common.py @@ -111,6 +111,13 @@ def common_parser(prog, description): help='Enable device encryption via dm-crypt', ) + parser.add_argument( + '--no-systemd', + dest='no_systemd', + action='store_true', + help='Skip creating and enabling systemd units and starting OSD services when activating', + ) + # Do not parse args, so that consumers can do something before the args get # parsed triggering argparse behavior return parser