Skip to content

Instantly share code, notes, and snippets.

@jsilva
Last active December 11, 2015 07:08
Show Gist options
  • Save jsilva/4563842 to your computer and use it in GitHub Desktop.
Save jsilva/4563842 to your computer and use it in GitHub Desktop.
#!/bin/bash -e
if [ -f /etc/cron.d/initialrunner ]; then
rm /etc/cron.d/initialrunner
fi
echo "10.181.8.179 salt salt.fffflash.com" >> /etc/hosts
mkdir -p /srv/src && cd /srv/src && wget -O - http://bootstrap.saltstack.org | sudo sh
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment