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
Written by dcdieci
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Tags
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#