Created
December 15, 2010 20:15
-
-
Save jellybob/742542 to your computer and use it in GitHub Desktop.
Bootsraps a Kimsufi i7-4T
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 characters
#!/bin/bash | |
echo 'deb http://apt.opscode.com/ lucid main' | tee /etc/apt/sources.list.d/opscode.list | |
wget -qO - http://apt.opscode.com/[email protected] | apt-key add - | |
apt-get update | |
apt-get install chef -y | |
echo -e "chef\tchef/chef_server_url\tselect" > /tmp/chef.preseed | |
debconf-set-selections /tmp/chef.preseed | |
update-rc.d chef-client disable | |
mkdir /tmp/chef-solo | |
cd /tmp/chef-solo | |
wget https://github.com/jellybob/blankpad-cookbooks/tarball/master --no-check-certificate | |
tar xzf master | |
mv jellybob-blankpad-cookbooks* cookbooks | |
rm master | |
chef-solo -c /tmp/chef-solo/cookbooks/kimsufi_bootstrap/solo.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment