LoginSignup
5
5

More than 5 years have passed since last update.

vagrantにknife-soloする時のhostnameを設定

Posted at

よく忘れるので残しとく。

knife solo cook vagrant@hostname

↑のhostnameを設定する方法

vagrant ssh-config --host hostname >> ~/.ssh/config

hostnameは任意
- sshポートやipアドレスは適宜調整
- Windowsの場合、~/.ssh/configを適宜調整

これをやっておかないとberkshelfもおかしな動きをする

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5