...
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 create a file in your home directory (usually called openrc) with the following settings:
...