Skip to content

Instantly share code, notes, and snippets.

@pikesley
Created February 20, 2012 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save pikesley/1869395 to your computer and use it in GitHub Desktop.
Save pikesley/1869395 to your computer and use it in GitHub Desktop.
catering-college installer
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