diff --git a/doc/rapi.rst b/doc/rapi.rst index 0fcfab245b229e2c9912e1f52434a3672a3a4794..61454d0a7ddc898f380cca814caf841feadba491 100644 --- a/doc/rapi.rst +++ b/doc/rapi.rst @@ -599,11 +599,11 @@ Example:: [ { "id": "node1.example.com", - "uri": "\/instances\/node1.example.com" + "uri": "\/nodes\/node1.example.com" }, { "id": "node2.example.com", - "uri": "\/instances\/node2.example.com" + "uri": "\/nodes\/node2.example.com" } ] diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml index 14f6c5108ec46c97135fd2a616d8fc4c067af966..81d75b2a77878312f3cb919ec145cea052847283 100644 --- a/man/gnt-instance.sgml +++ b/man/gnt-instance.sgml @@ -1511,10 +1511,10 @@ instance5: 11225 <para> The <option>-H</option> and <option>-B</option> options - specify extra, temporary hypervisor and backend parameters - that can be used to start an instance with modified - parameters. They can be useful for quick testing without - having to modify an instance back and forth, e.g.: + specify temporary hypervisor and backend parameters that can + be used to start an instance with modified parameters. They + can be useful for quick testing without having to modify an + instance back and forth, e.g.: <screen> # gnt-instance start -H root_args="single" instance1 # gnt-instance start -B memory=2048 instance2 @@ -1523,7 +1523,11 @@ instance5: 11225 <userinput>instance1</userinput> in single-user mode, and the instance <userinput>instance2</userinput> with 2GB of RAM (this time only, unless that is the actual instance - memory size already). + memory size already). Note that the values override the + instance parameters (and not extend them): an instance with + "root_args=ro" when started with <userinput>-H + root_args=single</userinput> will result in "single", not + "ro single". </para> <para> diff --git a/scripts/gnt-instance b/scripts/gnt-instance index 711727ba930831af953b40de216fbe6774a7d8f4..ead004f82e41a810ce4a01dc1eab93d59daa14fb 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -241,12 +241,12 @@ def ListInstances(opts, args): "network_port": "Network_port", "hv/kernel_path": "Kernel_path", "hv/initrd_path": "Initrd_path", - "hv/boot_order": "HVM_boot_order", - "hv/acpi": "HVM_ACPI", - "hv/pae": "HVM_PAE", - "hv/cdrom_image_path": "HVM_CDROM_image_path", - "hv/nic_type": "HVM_NIC_type", - "hv/disk_type": "HVM_Disk_type", + "hv/boot_order": "Boot_order", + "hv/acpi": "ACPI", + "hv/pae": "PAE", + "hv/cdrom_image_path": "CDROM_image_path", + "hv/nic_type": "NIC_type", + "hv/disk_type": "Disk_type", "hv/vnc_bind_address": "VNC_bind_address", "serial_no": "SerialNo", "hypervisor": "Hypervisor", "hvparams": "Hypervisor_parameters",