Revision bdd55f71 scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
187 | 187 |
mode=constants.INSTANCE_CREATE, |
188 | 188 |
os_type=opts.os, pnode=opts.node, |
189 | 189 |
snode=opts.snode, vcpus=opts.vcpus, |
190 |
ip=opts.ip, bridge=opts.bridge, start=True, |
|
190 |
ip=opts.ip, bridge=opts.bridge, |
|
191 |
start=opts.start, ip_check=opts.ip_check, |
|
191 | 192 |
wait_for_sync=opts.wait_for_sync) |
192 | 193 |
SubmitOpCode(op) |
193 | 194 |
return 0 |
... | ... | |
602 | 603 |
metavar="<node>"), |
603 | 604 |
make_option("-b", "--bridge", dest="bridge", |
604 | 605 |
help="Bridge to connect this instance to", |
605 |
default=None, metavar="<bridge>") |
|
606 |
default=None, metavar="<bridge>"), |
|
607 |
make_option("--no-start", dest="start", default=True, |
|
608 |
action="store_false", help="Don't start the instance after" |
|
609 |
" creation"), |
|
610 |
make_option("--no-ip-check", dest="ip_check", default=True, |
|
611 |
action="store_false", help="Don't check that the instance's IP" |
|
612 |
" is alive (only valid with --no-start)"), |
|
606 | 613 |
] |
607 | 614 |
|
608 | 615 |
commands = { |
Also available in: Unified diff