Skip to content

Instantly share code, notes, and snippets.

View robertstarmer's full-sized avatar

Robert Starmer robertstarmer

View GitHub Profile
$build_node_name = "build-60"
$domain_name = 'sixty.lab'
$company_ntp_server = "192.168.26.163"
$cobbler_node_ip = '192.168.60.254'
$node_subnet = '192.168.60.0'
$node_netmask = '255.255.255.0'
$node_gateway = '192.168.60.1'
$location = "http://192.168.26.163/openstack/cisco"
@robertstarmer
robertstarmer / keystone_user_add.sh
Created February 20, 2013 03:51
A quick script to add a user and project to OpenStack (folsom)
#!/bin/bash
source ~/openrc
echo Argv: $#
if [[ $# -lt 3 ]]
then
echo -e "Usage:\n${0} user password e-mail@address [tenant=openstack]"
else
user_id=`keystone user-list | grep ${1} | awk -F' ' '{print $2}'`
$location = "http://192.168.26.163/openstack/cisco"
$build_node_name = "coe-aio-2"
$company_ntp_server = "192.168.26.186"
$cobbler_node_ip = '192.168.26.170'
$node_subnet = '192.168.40.0'
$node_netmask = '255.255.255.0'
$node_gateway = '192.168.40.1'
$domain_name = 'forty.lab'
$cobbler_proxy = "http://${cobbler_node_ip}:3142/"
$autostart_puppet = true
@robertstarmer
robertstarmer / site-101-240.yaml
Created January 28, 2013 11:45
site for VLAN 101 (subset .240-250)
default:
dns_server: 192.168.26.186
domain_name: nerdlunch.lab
ntp_server: 192.168.101.1
admin: localadmin
password: ubuntu
apt_location: http://192.168.26.163/openstack/cisco
network: 192.168.101.0
netmask: 255.255.255.0
gateway: 192.168.101.1
@robertstarmer
robertstarmer / site40.yaml
Last active December 11, 2015 18:19
site file for VLAN 40
default:
dns_server: 192.168.26.186
domain_name: forty.lab
ntp_server: 192.168.40.1
admin: localadmin
password: ubuntu
apt_location: http://192.168.26.163/openstack/cisco
network: 192.168.40.0
netmask: 255.255.255.0
gateway: 192.168.40.1
@robertstarmer
robertstarmer / site20.yaml
Last active December 11, 2015 18:19
site.yaml for VLAN 20
default:
dns_server: 192.168.26.186
domain_name: twenty.lab
ntp_server: 192.168.20.1
admin: localadmin
password: ubuntu
apt_location: http://192.168.26.163/openstack/cisco
network: 192.168.20.0
netmask: 255.255.255.0
gateway: 192.168.20.1
@robertstarmer
robertstarmer / site200.yaml
Last active December 11, 2015 12:39
site.yaml for .200 network
default:
dns_server: 192.168.26.186
domain_name: ht.lab
ntp_server: 192.168.200.1
admin: localadmin
password: ubuntu
apt_location: http://192.168.26.163/openstack/cisco
network: 192.168.200.0
netmask: 255.255.255.0
gateway: 192.168.200.1
@robertstarmer
robertstarmer / site-25.yaml
Last active December 11, 2015 07:08
site-25.yaml
default:
dns_server: 192.168.26.186
domain_name: twentyfive.lab
ntp_server: 192.168.25.1
admin: localadmin
password: ubuntu
apt_location: http://192.168.26.163/openstack/cisco
network: 192.168.25.0
netmask: 255.255.255.0
gateway: 192.168.25.1
@robertstarmer
robertstarmer / site50.yaml
Last active December 11, 2015 05:48
site-50.yaml
default:
dns_server: 192.168.26.186
domain_name: fifty.lab
ntp_server: 192.168.26.186
admin: localadmin
password: ubuntu
apt_location: http://192.168.26.163/openstack/cisco
network: 192.168.50.0
netmask: 255.255.255.0
gateway: 192.168.50.1
@robertstarmer
robertstarmer / site60.yaml
Last active December 11, 2015 05:29
site-60.yaml
default:
dns_server: 192.168.26.186
domain_name: sixty.lab
ntp_server: 192.168.60.1
admin: localadmin
password: ubuntu
apt_location: http://192.168.26.163/openstack/cisco
network: 192.168.60.0
netmask: 255.255.255.0
gateway: 192.168.60.1