Skip to content

Instantly share code, notes, and snippets.

View jorisroovers's full-sized avatar

Joris Roovers jorisroovers

View GitHub Profile
#!/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
#!/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}'`