Skip to content

Instantly share code, notes, and snippets.

View tdeckers-cisco's full-sized avatar

Tom Deckers tdeckers-cisco

View GitHub Profile
#!/bin/bash
#
# Pass a raw link to this document into the post-create box:
# https://gist.githubusercontent.com/tdeckers-cisco/10026005/raw/cloudinit-admin.sh
#
#echo "root:ugh+hum" | chpasswd
# ENABLE SECOND NIC
cat > /etc/sysconfig/network-scripts/ifcfg-eth1 <<EOF
DEVICE=eth1
@tdeckers-cisco
tdeckers-cisco / bootstrap-ansible.sh
Last active May 10, 2023 03:27
Install Ansible on RHEL6
#!/usr/bin/env bash
#
# Invoke this bootstrap using:
# bash < <(curl -s -L https://raw.github.com/gist/5813672/bootstrap-ansible.sh)
# (this should be run as root)
#
# move to working dir.
cd /tmp
@tdeckers-cisco
tdeckers-cisco / jetty-ondemand.sh
Created November 30, 2012 09:56
Jetty On-demand - bash bootstrap
#!/usr/bin/env bash
#
# Invoke this bootstrap copying following command to the command line:
#
# bash < <(curl -s -L https://raw.github.com/gist/4174871/jetty-ondemand.sh)
#
# (this should be run as root)
#
# move to working dir.
@tdeckers-cisco
tdeckers-cisco / bootstrap.sh
Last active October 13, 2015 01:48
Vagrant install - bash bootstrap
#!/usr/bin/env bash
#
# Invoke this bootstrap using:
# bash < <(curl -s -L https://raw.github.com/gist/4120406/bootstrap.sh)
# (this should be run as root)
#
# move to working dir.
cd /tmp