...
Information on using the OpenStack client can be found here: https://docs.openstack.org/developer/python-openstackclient/
Installation
Depending on your operating system, the OpenStack client should be available through the default repositories (these are run as root, or using sudo privileges):
...
More information on installing the client can be found here: https://docs.openstack.org/user-guide/common/cli-install-openstack-command-line-clients.html
Windows 10 Users - Ubuntu Bash Shell (WSL):
If you are running Windows 10, you can optionally install the Ubuntu Bash Shell (Currently Ubuntu 14.04) - See the MSDN page for details and installation instructions. Once installed, the following commands can be used to install the OpenStack CLI client:
Code Block |
---|
# Install dependencies to install the OpenStack client sudo apt-get update sudo apt-get install -y python-pip sudo apt-get install -y build-essential sudo apt-get install -y python-dev libxslt1-dev libxml2-dev # Install the OpenStack client sudo pip install python-openstackclient |
Credentials
While potentially you can input your user credentials on the command line every time you run openstack, the simpler (and more secure) option is to put your credentials into a file which you read from before using the CLI. First log in to the Nimbus dashboard, where you can download your Nimbus credentials file by clicking on your username in the top right corner and selecting "OpenStack RC File v3" (save it as something like nimbus-rc).
...