- Create local Vagrant environment:
vagrant up
- Test SSH:
vagrant ssh
- Get vagrant SSH configuration:
vagrant ssh-config
- Install
chef solo
:
knife solo prepare vagrant@localhost --ssh-port 2200 --identity-file ~/.vagrant.d/insecure_private_key
- Apply the cookbook:
knife solo cook vagrant@localhost --ssh-port 2200 --identity-file ~/.vagrant.d/insecure_private_key