knife-soloでcookbookをリモートホストに実行する際に、毎回 -i オプションでKeyPairファイルを指定するのがめんどくさかったので設定ファイルに記述する方法を調べた。 knife の設定ファイルを作成 knife configre コマンドでknifeの設定ファイルを作成する。 $ knife configure WARNING: No knife configuration file found Where should I put the config file? [/home/user_name/.chef/knife.rb] Please enter the chef server URL: [https://your_hostname:443] Please enter an existing username or clientname for the AP