puppet-nova/ext/nova.sh
Dan Bode 6cfb887d8d Add nova validation sctipt to ext
This commit creates an ext directory and
stored a file there that is intended to be
used to perform some basic integration tests
on a functional nova instance.
2012-03-19 18:35:50 -07:00

20 lines
499 B
Bash
Executable File

#!/bin/bash
# Extract creds
cd ~
sudo nova-manage project zipfile nova novaadmin
unzip nova.zip
source novarc
euca-add-keypair openstack > ~/cert.pem
# List
nova flavor-list
nova image-list
# Run instance
euca-run-instances ami-00000003 -k openstack -t m1.tiny
euca-describe-instances
echo 'log into your controller VM'
echo 'check the status of your VM with euca-describe-instances'
echo 'when it is in the running state, verify that you can login'
echo 'using ssh -i ~/cert.pem root@ip.address'