Skip to content

Instantly share code, notes, and snippets.

@etoews
Created May 4, 2016 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save etoews/adc142aaddbddc825bdea8da96e4772b to your computer and use it in GitHub Desktop.
Save etoews/adc142aaddbddc825bdea8da96e4772b to your computer and use it in GitHub Desktop.
Configure the OpenStack Client to work on the Rackspace public cloud
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
@jjasghar
Copy link

jjasghar commented May 4, 2016

🤘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment