Revision d48c944b lib/client/gnt_cluster.py

b/lib/client/gnt_cluster.py
87 87
             " to disable lvm-based storage cluster-wide, use the option"
88 88
             " --enabled-disk-templates to disable all of these lvm-base disk "
89 89
             "  templates: %s" %
90
             utils.CommaJoin(utils.GetLvmDiskTemplates()))
90
             utils.CommaJoin(constants.DTS_LVM))
91 91
    return 1
92 92

  
93 93

  
......
1048 1048
    if vg_name and not utils.IsLvmEnabled(enabled_disk_templates):
1049 1049
      ToStdout("You specified a volume group with --vg-name, but you did not"
1050 1050
               " enable any of the following lvm-based disk templates: %s" %
1051
               utils.CommaJoin(utils.GetLvmDiskTemplates()))
1051
               utils.CommaJoin(constants.DTS_LVM))
1052 1052
  return vg_name
1053 1053

  
1054 1054

  

Also available in: Unified diff