Skip to content

Instantly share code, notes, and snippets.

@desmondmorris
Created February 7, 2014 15:02
Show Gist options
  • Save desmondmorris/8864322 to your computer and use it in GitHub Desktop.
Save desmondmorris/8864322 to your computer and use it in GitHub Desktop.
OpenStack notes
# Install nova client
pip install python-novaclient
# Add environment variables
export OS_USERNAME=XXXXX
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://10.240.0.141:9292/v1
export OS_COMPUTE_API_VERSION=1
export OS_AUTH_URL=http://10.240.0.141:5000/v2.0/
# List flavors
nova flavor-list
# Create new instance
nova boot INSTANCENAME --image IMAGEID --flavor 4 --key_name YOURKEYNAME
# SSH In
ssh -i ~/.ssh/id_rsa.pub ubuntu@IP
# Quick links
* Create your first VM - http://docs.openstack.org/grizzly/basic-install/yum/content/basic-install_operate.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment