Open Toumash opened 2 years ago
I've found a working manual process. You have to copy the files, because for some reason running them from C:\vagrant crashes the chef.
cd
into the directorychef-client.bat --local-mode -o <recipe-name>
for example
chef-client.bat --local-mode -o webcon-prerequisites
Running chef from vagrant is super slow (2-5 minutes to
vagrant up --provisoon
)We need a way to quickly run chef from the guest VM.
Running chef-zero.bat with cookbooks copied to
C:\chef
does not work.The error message says we need a configuration file, but how to create it/pass it by cli arguments?