Revision 49a924bc lib/objects.py
b/lib/objects.py | ||
---|---|---|
470 | 470 |
template_set.add(constants.DT_DRBD8) |
471 | 471 |
template_set.add(constants.DT_PLAIN) |
472 | 472 |
# FIXME: Adapt this when dis/enabling at configure time is removed. |
473 |
# Enable 'file' and 'sharedfile', if they are enabled, even though they |
|
474 |
# might currently not be used. |
|
475 |
if constants.ENABLE_FILE_STORAGE: |
|
476 |
template_set.add(constants.DT_FILE) |
|
473 |
# Enable 'sharedfile', if they are enabled, even though they might |
|
474 |
# currently not be used. |
|
477 | 475 |
if constants.ENABLE_SHARED_FILE_STORAGE: |
478 | 476 |
template_set.add(constants.DT_SHARED_FILE) |
479 | 477 |
# Set enabled_disk_templates to the inferred disk templates. Order them |
Also available in: Unified diff