Revision 20b1bd80
b/doc/rapi.rst | ||
---|---|---|
599 | 599 |
[ |
600 | 600 |
{ |
601 | 601 |
"id": "node1.example.com", |
602 |
"uri": "\/instances\/node1.example.com"
|
|
602 |
"uri": "\/nodes\/node1.example.com"
|
|
603 | 603 |
}, |
604 | 604 |
{ |
605 | 605 |
"id": "node2.example.com", |
606 |
"uri": "\/instances\/node2.example.com"
|
|
606 |
"uri": "\/nodes\/node2.example.com"
|
|
607 | 607 |
} |
608 | 608 |
] |
609 | 609 |
|
b/man/gnt-instance.sgml | ||
---|---|---|
1511 | 1511 |
|
1512 | 1512 |
<para> |
1513 | 1513 |
The <option>-H</option> and <option>-B</option> options |
1514 |
specify extra, temporary hypervisor and backend parameters
|
|
1515 |
that can be used to start an instance with modified
|
|
1516 |
parameters. They can be useful for quick testing without
|
|
1517 |
having to modify an instance back and forth, e.g.:
|
|
1514 |
specify temporary hypervisor and backend parameters that can
|
|
1515 |
be used to start an instance with modified parameters. They
|
|
1516 |
can be useful for quick testing without having to modify an
|
|
1517 |
instance back and forth, e.g.: |
|
1518 | 1518 |
<screen> |
1519 | 1519 |
# gnt-instance start -H root_args="single" instance1 |
1520 | 1520 |
# gnt-instance start -B memory=2048 instance2 |
... | ... | |
1523 | 1523 |
<userinput>instance1</userinput> in single-user mode, and |
1524 | 1524 |
the instance <userinput>instance2</userinput> with 2GB of |
1525 | 1525 |
RAM (this time only, unless that is the actual instance |
1526 |
memory size already). |
|
1526 |
memory size already). Note that the values override the |
|
1527 |
instance parameters (and not extend them): an instance with |
|
1528 |
"root_args=ro" when started with <userinput>-H |
|
1529 |
root_args=single</userinput> will result in "single", not |
|
1530 |
"ro single". |
|
1527 | 1531 |
</para> |
1528 | 1532 |
|
1529 | 1533 |
<para> |
b/scripts/gnt-instance | ||
---|---|---|
241 | 241 |
"network_port": "Network_port", |
242 | 242 |
"hv/kernel_path": "Kernel_path", |
243 | 243 |
"hv/initrd_path": "Initrd_path", |
244 |
"hv/boot_order": "HVM_boot_order",
|
|
245 |
"hv/acpi": "HVM_ACPI",
|
|
246 |
"hv/pae": "HVM_PAE",
|
|
247 |
"hv/cdrom_image_path": "HVM_CDROM_image_path",
|
|
248 |
"hv/nic_type": "HVM_NIC_type",
|
|
249 |
"hv/disk_type": "HVM_Disk_type",
|
|
244 |
"hv/boot_order": "Boot_order",
|
|
245 |
"hv/acpi": "ACPI", |
|
246 |
"hv/pae": "PAE", |
|
247 |
"hv/cdrom_image_path": "CDROM_image_path", |
|
248 |
"hv/nic_type": "NIC_type", |
|
249 |
"hv/disk_type": "Disk_type", |
|
250 | 250 |
"hv/vnc_bind_address": "VNC_bind_address", |
251 | 251 |
"serial_no": "SerialNo", "hypervisor": "Hypervisor", |
252 | 252 |
"hvparams": "Hypervisor_parameters", |
Also available in: Unified diff