ceph-volume lvm.common add dmcrypt flag

Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
Alfredo Deza 2018-01-16 09:02:31 -05:00
parent 477670a091
commit 88ff873e9a

View File

@ -99,6 +99,11 @@ def common_parser(prog, description):
dest='crush_device_class',
help='Crush device class to assign this OSD to',
)
parser.add_argument(
'--dmcrypt',
action='store_true',
help='Enable device encryption via dm-crypt',
)
# Do not parse args, so that consumers can do something before the args get
# parsed triggering argparse behavior
return parser