Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
## Set global variables
LOGPATH='/path/to/your/logs'
JSSURL='https://<yourjssurl>'
JSSCONTACTTIMEOUT=120 # amount of time to wait before timing out waiting for connection
LOGFILE=$LOGPATH/deployment-$(date +%Y%m%d-%H%M).logging #re-name to whatever name you want
VERSION=10.11.5
## Setup logging
if [[ ! -d $LOGPATH ]]; then
mkdir $LOGPATH
fi
set -xv; exec 1> $LOGFILE 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment