Skip to content

Instantly share code, notes, and snippets.

@charlesflynn
Created May 14, 2013 13:53
Show Gist options
  • Save charlesflynn/5576026 to your computer and use it in GitHub Desktop.
Save charlesflynn/5576026 to your computer and use it in GitHub Desktop.
Testing a fresh Openstack/Devstack installation.
# Allow ping and ssh
nova secgroup-add-rule default icmp 0 0 0.0.0.0/0
nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
# Add dsa key
nova keypair-add --pub-key ~/.ssh/id_dsa.pub `whoami`-dsa
# Grab and import the precise cloud image
curl -O http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img
glance image-create --name precise64 --disk-format=qcow2 --container-format=bare --is-public=True < ./precise-server-cloudimg-amd64-disk1.img
# Boot a test instance
nova boot test1 --image "precise64" --flavor 1 --key-name `whoami`-dsa
# Check instance status
nova list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment