Skip to content

Instantly share code, notes, and snippets.

View delagoya's full-sized avatar

Angel Pizarro delagoya

View GitHub Profile
@teknogeek0
teknogeek0 / gist:6690813
Created September 24, 2013 20:33
ebsraider
View gist:6690813
#!/bin/bash
# made by Chris Munns
host_info=`ec2-describe-instances | grep $HOSTNAME`
host_id=`echo $host_info | awk '{print $2}'`
host_zone=`echo $host_info | awk '{print $11}'`
SCHEDULER=deadline
MDADMCOM=/sbin/mdadm
volNum=$1
volSize=$2