Merge branch 'master' into next
[ganeti-local] / scripts / gnt-cluster
index b5fd166..e6cb4f7 100755 (executable)
@@ -93,11 +93,6 @@ def InitCluster(opts, args):
         hvparams[hv][parameter] = constants.HVC_DEFAULTS[hv][parameter]
     utils.ForceDictType(hvparams[hv], constants.HVS_PARAMETER_TYPES)
 
-  for hv in hvlist:
-    if hv not in constants.HYPER_TYPES:
-      ToStderr("invalid hypervisor: %s", hv)
-      return 1
-
   bootstrap.InitCluster(cluster_name=args[0],
                         secondary_ip=opts.secondary_ip,
                         vg_name=vg_name,