Skip to content

Instantly share code, notes, and snippets.

@pikesley
Created February 20, 2012 14:11
Show Gist options
  • 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