Created
May 14, 2013 13:53
-
-
Save charlesflynn/5576026 to your computer and use it in GitHub Desktop.
Testing a fresh Openstack/Devstack installation.
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
# 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