ceph-volume lvm.batch add --osds-per-device flag, defaulting to 1

Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
Alfredo Deza 2018-09-10 16:12:59 -04:00
parent 0551d0e14b
commit fe7c5e0129

View File

@ -206,6 +206,12 @@ class Batch(object):
action='store_true',
help='Skip creating and enabling systemd units and starting OSD services',
)
parser.add_argument(
'--osds-per-device',
type=int,
default=1,
help='Provision more than 1 (the default) OSD per device',
)
args = parser.parse_args(self.argv)
if not args.devices: