Skip to content

Instantly share code, notes, and snippets.

View kevinbringard's full-sized avatar

Kevin Bringard kevinbringard

  • Phreesia, Inc
  • All up in your SaaS
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kevinbringard on github.
  • I am kevinbringard (https://keybase.io/kevinbringard) on keybase.
  • I have a public key ASA1YZYmaVtjNnprfPLadpu8uDdj7V8HiaDuRjCaD2CLEQo

To claim this, I am signing this object:

diff --git a/dhcp.py b/dhcp.py
index 2844b1a..fc72f37 100644
--- a/dhcp.py
+++ b/dhcp.py
@@ -31,6 +31,7 @@ from quantum.agent.linux import utils
from quantum.openstack.common import jsonutils
from quantum.openstack.common import log as logging
from quantum.openstack.common import uuidutils
+from novaclient.v1_1 import client
#!/usr/bin/env bash
# We need to cat lines with spaces
OLD_IFS=$IFS
IFS=$'\n'
OUTFILE="hosts.file"
NOVA_CREDS=""
# If the credentials file isn't specified we exit
if [ -z $NOVA_CREDS ]; then
Put this on the jumphost for the environment you wish to gather numbers for:
#!/usr/bin/env bash
if [ -f /tmp/disk_utilization ]; then
rm /tmp/disk_utilization
fi
for i in $( ls -d /var/lib/nova/instances/instance* ); do
instance=$i
@kevinbringard
kevinbringard / centos-nova-install.sh
Created February 21, 2011 22:11
Shell script to install nova and it's dependencies on CentOS 5.x. I't sonly been tested with KVM and the OpenStack Bexar release
#!/bin/sh
# This should get most (if not all of the dependencies for openstack on CentOS 5.5 installed for you
# Based on http://wiki.openstack.org/NovaInstall/CentOSNotes
# Define some constants
BASE=$( pwd )
BUILDDIR="nova-build"
RPMHOST="UPDATE THIS"
NOVACONF="nova.conf"