Chef cheat sheet: Difference between revisions

Line 67: Line 67:


== knife bootstrap ==
== knife bootstrap ==
すでに稼働しているインスタンスに opscode の リポジトリから chef client を node 名を指定してインストールする。
<pre>
<pre>
knife bootstrap IPADDRESS -N node01.egrep.jp -i ~/.ssh/ssh_key.pem -x ubuntu --sudo -d ubuntu10.04-apt-ec2
knife bootstrap IPADDRESS -N node01.egrep.jp -i ~/.ssh/ssh_key.pem -x ubuntu --sudo -d ubuntu10.04-apt
</pre>
</pre>