Revision 42959a7f

b/tools/burnin
221 221
                       " to start the renaming sequence"),
222 222
                 metavar="<instance_name>"),
223 223
  cli.cli_option("-t", "--disk-template", dest="disk_template",
224
                 choices=list(constants.DISK_TEMPLATES),
224
                 choices=list(_SUPPORTED_DISK_TEMPLATES),
225 225
                 default=constants.DT_DRBD8,
226
                 help="Disk template (diskless, file, plain, sharedfile"
227
                 " or drbd) [drbd]"),
226
                 help=("Disk template (default %s, otherwise one of %s)" %
227
                       (constants.DT_DRBD8,
228
                        utils.CommaJoin(_SUPPORTED_DISK_TEMPLATES)))),
228 229
  cli.cli_option("-n", "--nodes", dest="nodes", default="",
229 230
                 help=("Comma separated list of nodes to perform"
230 231
                       " the burnin on (defaults to all nodes)"),
......
486 487
      Err("Maximum memory lower than minimum memory")
487 488

  
488 489
    if options.disk_template not in _SUPPORTED_DISK_TEMPLATES:
489
      Err("Unknown disk template '%s'" % options.disk_template)
490
      Err("Unknown or unsupported disk template '%s'" % options.disk_template)
490 491

  
491 492
    if options.disk_template == constants.DT_DISKLESS:
492 493
      disk_size = disk_growth = []

Also available in: Unified diff