From 83889bd2402770f22f04a1fb454c006757c8c303 Mon Sep 17 00:00:00 2001 From: Anne Gentle Date: Fri, 16 Dec 2016 09:14:52 -0600 Subject: [PATCH] Updates CLI cheat sheet with info about ip netns Closes-Bug: #1648101 Change-Id: Ieeb39e0ae4db49210a658f97182c9c154a42d6b7 --- doc/user-guide/source/cli-cheat-sheet.rst | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/user-guide/source/cli-cheat-sheet.rst b/doc/user-guide/source/cli-cheat-sheet.rst index fcfe0a1e81..023b6b512d 100644 --- a/doc/user-guide/source/cli-cheat-sheet.rst +++ b/doc/user-guide/source/cli-cheat-sheet.rst @@ -108,7 +108,13 @@ Boot an instance using flavor and image names (if names are unique) $ openstack server create --image cirros-0.3.1-x86_64-uec --flavor m1.tiny \ MyFirstInstance -Login to instance +Log in to the instance (from Linux) + +.. note:: + + The :command:`ip` command is available only on Linux. Using :command:`ip netns` provides your + environment a copy of the network stack with its own routes, firewall + rules, and network devices for better troubleshooting. .. code-block:: console @@ -119,8 +125,14 @@ Login to instance .. note:: - In CirrOS the password for user ``cirros`` is "cubswin:)" without - the quotes. + In CirrOS, the password for user ``cirros`` is ``cubswin:)``. + For any other operating system, use SSH keys. + +Log in to the instance with a public IP address (from Mac) + +.. code-block:: console + + $ ssh cloud-user@128.107.37.150 Show details of instance