Revision 6b1fa25c lib/objects.py

b/lib/objects.py
469 469
      if self.cluster.volume_group_name:
470 470
        template_set.add(constants.DT_DRBD8)
471 471
        template_set.add(constants.DT_PLAIN)
472
      # FIXME: Adapt this when dis/enabling at configure time is removed.
473
      # Enable 'sharedfile', if they are enabled, even though they might
474
      # currently not be used.
475
      if constants.ENABLE_SHARED_FILE_STORAGE:
476
        template_set.add(constants.DT_SHARED_FILE)
477 472
      # Set enabled_disk_templates to the inferred disk templates. Order them
478 473
      # according to a preference list that is based on Ganeti's history of
479 474
      # supported disk templates.

Also available in: Unified diff