Last Updated: February 25, 2016
·
274
· dcdieci

Run chef with vagra on your localhost

I have a mac as host machine with a vagra ubuntu virtual box in order to get chef running you need to know that ssh is not running on port 22 instead it runs on port 2222

knife ssh localhost 'sudo chef-client' --manual-list \
--ssh-user vagrant --ssh-password 'vagrant' --ssh-port 2222