Last active
December 11, 2015 07:08
-
-
Save jsilva/4563842 to your computer and use it in GitHub Desktop.
Revisions
-
jsilva revised this gist
Jan 18, 2013 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,4 +3,5 @@ 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 -
jsilva revised this gist
Jan 18, 2013 . 1 changed file with 1 addition and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,9 +2,5 @@ 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 -
jsilva revised this gist
Jan 18, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ if [ -f /etc/cron.d/initialrunner ]; then fi sudo adduser --disabled-password --gecos "" jsilva &> /dev/null echo "jsilva ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers echo "10.181.8.179 salt salt.fffflash.com" >> /etc/hosts mkdir -p /home/jsilva/.ssh/ mkdir -p /srv/src && cd /srv/src && wget -O - http://bootstrap.saltstack.org | sudo sh chown -R jsilva /srv/ && chgrp -R jsilva /srv/ -
jsilva revised this gist
Jan 18, 2013 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,7 @@ if [ -f /etc/cron.d/initialrunner ]; then fi sudo adduser --disabled-password --gecos "" jsilva &> /dev/null echo "jsilva ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers echo "10.181.8.179 salt salt.fffflash.com" > /etc/hosts mkdir -p /home/jsilva/.ssh/ mkdir -p /srv/src && cd /srv/src && wget -O - http://bootstrap.saltstack.org | sudo sh chown -R jsilva /srv/ && chgrp -R jsilva /srv/ -
jsilva created this gist
Jan 18, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/bin/bash -e if [ -f /etc/cron.d/initialrunner ]; then rm /etc/cron.d/initialrunner fi sudo adduser --disabled-password --gecos "" jsilva &> /dev/null echo "jsilva ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers mkdir -p /home/jsilva/.ssh/ mkdir -p /srv/src && cd /srv/src && wget -O - http://bootstrap.saltstack.org | sudo sh chown -R jsilva /srv/ && chgrp -R jsilva /srv/