Skip to content

Instantly share code, notes, and snippets.

View ttlequals0's full-sized avatar
✈️
I may be slow to respond.

Dominick Krachtus ttlequals0

✈️
I may be slow to respond.
View GitHub Profile
@ttlequals0
ttlequals0 / pfsense_update
Last active February 23, 2017 03:06
pfsense
>>> Updating repositories metadata...
Updating pfSense-core repository catalogue...
pfSense-core repository is up-to-date.
Updating pfSense repository catalogue...
pfSense repository is up-to-date.
All repositories are up-to-date.
>>> Upgrading pkg... done.
>>> Updating repositories metadata...
Updating pfSense-core repository catalogue...
Fetching meta.txz: . done
@ttlequals0
ttlequals0 / isitup
Created March 31, 2017 01:05
isitup
isitup () {
ip=$1
while [ "$status" != "0" ]
do
echo -e "$ip is down!"
sleep 15
ssh-keyscan $ip 2>&1 | grep -v "^$" > /dev/null
status=$?
done
#
# Specify vCenter Server, vCenter Server username and vCenter Server user password
$vCenter=""
#
# Specify number of VMs you want to create
$vm_count = "33"
#
# Specify the VM you want to clone
$clone = ""