Revision 35c48839 lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
529 | 529 |
utils.CommaJoin(unknown_params)), |
530 | 530 |
errors.ECODE_INVAL) |
531 | 531 |
utils.ForceDictType(dt_params, constants.DISK_DT_TYPES) |
532 |
if template == constants.DT_DRBD8 and vg_name is not None: |
|
533 |
# The default METAVG value is equal to the VG name set at init time, |
|
534 |
# if provided |
|
535 |
dt_params[constants.DRBD_DEFAULT_METAVG] = vg_name |
|
536 |
|
|
532 | 537 |
try: |
533 | 538 |
utils.VerifyDictOptions(diskparams, constants.DISK_DT_DEFAULTS) |
534 | 539 |
except errors.OpPrereqError, err: |
Also available in: Unified diff