Skip to content

Instantly share code, notes, and snippets.

@calum-github
calum-github / gist:d5670cbb33f3d557cb3a
Created February 5, 2015 01:50
centos bsdpy prep
#!/bin/bash
######################################################################################
# #
# Author: Calum Hunter #
# Date: 29/01/2015 #
# Version: 0.4 #
# Purpose: This script will go through and setup a base CentOS 7 minimal OS #
# install so that it is ready to be made into a VM template or cloned. #
# It will also install the first_boot_setup.sh script so that #
@calum-github
calum-github / test.sh
Last active August 29, 2015 14:14
killing prefpanes and shit
#!/bin/bash
# Display useage info if run with no arguments:
if [ -z $1 ]; then
echo "Useage: ./test.sh com.apple.preferences.mouse /Library/Preferences/com.apple.systemprefreeences.plist"
exit 1
fi
# Test to see if our pane actually exists in plist
echo "*** Testing for presence of prefpane $1"
@calum-github
calum-github / gist:8ed847153bf1e28f9b11
Last active May 24, 2024 01:18
AutoCasperNBI Post Processor Script
#!/bin/bash
######################################################################################
# #
# Author: Calum Hunter #
# Date: 12/12/2014 #
# Version: 0.3 #
# Purpose: Script to clean up an AutoCasperNBI for use with DEC BootStrapper. #
# #
# #
@calum-github
calum-github / JavaSecurity.pkg
Created January 16, 2015 01:38
Java 2014-001 scripts
Scripts from JavaSecurity.pkg
@calum-github
calum-github / JavaEssentials.pkg
Created January 16, 2015 01:36
Java 2014-001 scripts
These are the scripts from the JavaEssentials.pkg
@calum-github
calum-github / gist:25ca466035e11bd65780
Last active August 29, 2015 14:09
DeployStudio Server Plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>runtime</key>
<dict>
<key>quitAfterCompletion</key>
<string>YES</string>
<key>timeoutInSeconds</key>
<string>30</string>
## Steps to get the container to work
# first clone down the source
git clone https://bitbucket.org/bruienne/bsdpy
# move into the docker directory and set the +x on start.sh
chmod +x start.sh
# Edit the docker file and add the following
ENV DOCKER_BSDPY_PATH /nbi