Skip to content

Commit

Permalink
Set the chef server on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
dysinger committed Jun 27, 2011
1 parent f7927ab commit 28fdeb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/chef-client.sh
@@ -1,5 +1,6 @@
#!/bin/bash -ex

# chef client
perl -p -i -e 's/127\.0\.0.\1/172.16.172.16/g' /etc/chef/client.rb
invoke-rc.d chef-client start
update-rc.d chef-client defaults

0 comments on commit 28fdeb5

Please sign in to comment.