Revision b119bccb scripts/gnt-cluster

b/scripts/gnt-cluster
93 93
        hvparams[hv][parameter] = constants.HVC_DEFAULTS[hv][parameter]
94 94
    utils.ForceDictType(hvparams[hv], constants.HVS_PARAMETER_TYPES)
95 95

  
96
  for hv in hvlist:
97
    if hv not in constants.HYPER_TYPES:
98
      ToStderr("invalid hypervisor: %s", hv)
99
      return 1
100

  
101 96
  bootstrap.InitCluster(cluster_name=args[0],
102 97
                        secondary_ip=opts.secondary_ip,
103 98
                        vg_name=vg_name,

Also available in: Unified diff