This file contains 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
#!/bin/bash | |
# Set the ubuntu user password to something useable for VNC/KVM console access | |
passwd ubuntu <<EOF | |
ubuntu | |
ubuntu | |
EOF | |
# Since we have non-secure Dynamic DNS updates available in the ctocllab domain | |
# this will update a ctocllab.cisco.com entry |
This file contains 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
#!/bin/bash | |
source ${openrc:-~/openrc} | |
ext_net=${ext_net:-external} | |
no_gw=${no_gw:-nogw} | |
hostname=${1:-test} | |
key_name=${key_name:-public} | |
flavor=${flavor:-2} | |
image=${image:-precise-x86_64} | |
user_data=${user_data:-~/user.data} | |
net_id=`neutron net-list | grep ${ext_net} | awk -F' ' '{print $2}'` |