summaryrefslogtreecommitdiff
path: root/doc/source/cli/nova.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/cli/nova.rst')
-rw-r--r--doc/source/cli/nova.rst26
1 files changed, 24 insertions, 2 deletions
diff --git a/doc/source/cli/nova.rst b/doc/source/cli/nova.rst
index 4b501949..54ec9991 100644
--- a/doc/source/cli/nova.rst
+++ b/doc/source/cli/nova.rst
@@ -975,6 +975,7 @@ nova boot
[--trusted-image-certificate-id <trusted-image-certificate-id>]
[--host <host>]
[--hypervisor-hostname <hypervisor-hostname>]
+ [--hostname <hostname>]
<name>
Boot a new server.
@@ -1149,6 +1150,12 @@ quality of service support, microversion ``2.72`` is required.
Requested hypervisor hostname to create servers. Admin only by default.
(Supported by API versions '2.74' - '2.latest')
+``--hostname <hostname>``
+ Hostname for the instance. This sets the hostname stored in the
+ metadata server: a utility such as cloud-init running on the guest
+ is required to propagate these changes to the guest.
+ (Supported by API versions '2.90' - '2.latest')
+
.. _nova_clear-password:
nova clear-password
@@ -2885,6 +2892,7 @@ nova rebuild
[--user-data <user-data>] [--user-data-unset]
[--trusted-image-certificate-id <trusted-image-certificate-id>]
[--trusted-image-certificates-unset]
+ [--hostname <hostname>]
<server> <image>
Shutdown, re-image, and re-boot a server.
@@ -2958,6 +2966,12 @@ Shutdown, re-image, and re-boot a server.
specified with the ``--trusted-image-certificate-id`` option.
(Supported by API versions '2.63' - '2.latest')
+``--hostname <hostname>``
+ New hostname for the instance. This only updates the hostname
+ stored in the metadata server: a utility running on the guest
+ is required to propagate these changes to the guest.
+ (Supported by API versions '2.90' - '2.latest')
+
.. _nova_refresh-network:
nova refresh-network
@@ -3795,9 +3809,11 @@ nova update
.. code-block:: console
- usage: nova update [--name <name>] [--description <description>] <server>
+ usage: nova update [--name <name>] [--description <description>]
+ [--hostname <hostname>]
+ <server>
-Update the name or the description for a server.
+Update attributes of a server.
**Positional arguments:**
@@ -3815,6 +3831,12 @@ Update the name or the description for a server.
will be removed. (Supported by API versions
'2.19' - '2.latest')
+``--hostname <hostname>``
+ New hostname for the instance. This only updates the hostname
+ stored in the metadata server: a utility running on the guest
+ is required to propagate these changes to the guest.
+ (Supported by API versions '2.90' - '2.latest')
+
.. _nova_usage:
nova usage