Revision 4342e89b scripts/gnt-cluster
b/scripts/gnt-cluster | ||
---|---|---|
100 | 100 |
|
101 | 101 |
bootstrap.InitCluster(cluster_name=args[0], |
102 | 102 |
secondary_ip=opts.secondary_ip, |
103 |
hypervisor_type=opts.hypervisor_type, |
|
104 | 103 |
vg_name=vg_name, |
105 | 104 |
mac_prefix=opts.mac_prefix, |
106 | 105 |
def_bridge=opts.def_bridge, |
... | ... | |
456 | 455 |
" if given, the entire cluster must have secondary" |
457 | 456 |
" addresses", |
458 | 457 |
metavar="ADDRESS", default=None), |
459 |
make_option("-t", "--hypervisor-type", dest="hypervisor_type", |
|
460 |
help="Specify the hypervisor type " |
|
461 |
"(xen-pvm, kvm, fake, xen-hvm)", |
|
462 |
metavar="TYPE", choices=["xen-pvm", |
|
463 |
"kvm", |
|
464 |
"fake", |
|
465 |
"xen-hvm"], |
|
466 |
default="xen-pvm",), |
|
467 | 458 |
make_option("-m", "--mac-prefix", dest="mac_prefix", |
468 | 459 |
help="Specify the mac prefix for the instance IP" |
469 | 460 |
" addresses, in the format XX:XX:XX", |
Also available in: Unified diff