You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like on windows the download is initialized with WebClient, and the ?v breaks when attempting to 'download' from local path.
Vagrantfile:
config.omnibus.chef_version='12.0.3'config.omnibus.install_url='c:\\parent_binaries\\chef_client\\'config.vm.guest=:windows#needed for vagrant omnibus to work (1.4.1 has a bug https://github.com/chef/vagrant-omnibus/issues/90)config.vm.communicator="winrm"
Error:
powershell -command "(New-Object System.Net.WebClient).DownloadFile('c:\parent_binaries\chef_client\?v=%version%', '%dest%')"
Gets translated to:
(New-Object System.Net.WebClient).DownloadFile('c:\parent_binaries\chef_client\?v=12.0.3','C:\Users\vagrant\chef-client-12.0.3-1.windows.msi')
I am not familiar with Vagrants internals, so I don't know if Vagrant::Util::Downloader works on windows. But it would be nice if a custom installer could be defined for windows as well.
Looks like on windows the download is initialized with WebClient, and the ?v breaks when attempting to 'download' from local path.
Vagrantfile:
Error:
I am not sure if there is a simple syntax change that would allow both. Paging @smurawski
The text was updated successfully, but these errors were encountered: