Chef cheat sheet: Difference between revisions

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