diff --git a/lib/vagrant/provisioners/chef_solo.rb b/lib/vagrant/provisioners/chef_solo.rb index 27d3eb025..2d366893f 100644 --- a/lib/vagrant/provisioners/chef_solo.rb +++ b/lib/vagrant/provisioners/chef_solo.rb @@ -77,6 +77,9 @@ module Vagrant # Path already exists on the virtual machine. Expand it # relative to where we're provisioning. remote_path = File.expand_path(path, config.provisioning_path) + + # Remove drive letter if running on a windows host + remote_path = remote_path.gsub(/^[a-zA-Z]:/, "") end # Return the result