Modify the command of getting serial console

The old command 'nova get-serial-proxy' was not found when using novaclient

Change-Id: Ib106e36b77d32cdcc535e4237364b647d1cc04e0
This commit is contained in:
wangkuntian 2022-07-22 16:22:43 +08:00
parent bcb96f362a
commit 2dcd6d4878

View File

@ -181,12 +181,18 @@ websocket client to access the serial console.
.. rubric:: Accessing the serial console on an instance
#. Use the :command:`nova get-serial-proxy` command to retrieve the websocket
#. Use the :command:`nova get-serial-console` command to retrieve the websocket
URL for the serial console on the instance:
.. code-block:: console
$ nova get-serial-proxy INSTANCE_NAME
$ nova get-serial-console INSTANCE_NAME
Or use the :command:`openstack console url show` command.
.. code-block:: console
$ openstack console url show --serial INSTANCE_NAME
.. list-table::
:header-rows: 0