Created
February 20, 2012 14:11
-
-
Save pikesley/1869395 to your computer and use it in GitHub Desktop.
catering-college installer
This file contains 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 characters
NEWUSER=chef | |
sudo useradd -m ${NEWUSER} -s /bin/bash | |
cat /etc/group | sed "s/^\(admin:.*\)/\1,${NEWUSER}/" > /tmp/group && sudo mv /tmp/group /etc/ | |
sudo apt-get update | |
sudo apt-get install -y git-core | |
sudo su - ${NEWUSER} -c "git clone https://github.com/pikesley/catering-college ; cd catering-college ; ./install-chef-server" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment