Created
May 4, 2016 19:37
-
-
Save etoews/adc142aaddbddc825bdea8da96e4772b to your computer and use it in GitHub Desktop.
Configure the OpenStack Client to work on the Rackspace public cloud
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install python-openstackclient | |
openstack complete > .osc.bash_completion | |
echo "source $HOME/.osc.bash_completion" >> $HOME/.profile | |
source $HOME/.profile | |
cat <<EOF > $HOME/rackspace.env | |
export OS_AUTH_URL=https://identity.api.rackspacecloud.com/v2.0/ | |
export OS_REGION_NAME=IAD | |
export OS_USERNAME=rackspace-account-username | |
export OS_PROJECT_NAME=rackspace-account-number | |
export OS_PASSWORD=rackspace-account-password | |
EOF | |
source $HOME/rackspace.env | |
openstack image list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🤘