Merge pull request #4313 from w3ttr3y/master

Fixes 4309: Error when provisioning Windows host using Puppet
This commit is contained in:
Mitchell Hashimoto 2014-08-08 18:24:53 -07:00
commit 6e4541110b
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ module VagrantPlugins
script = Vagrant::Util::TemplateRenderer.render(path, options: {
username: shell.username,
password: shell.password,
command: command,
command: command.gsub("\"", "`\""),
})
guest_script_path = "c:/tmp/vagrant-elevated-shell.ps1"
file = Tempfile.new(["vagrant-elevated-shell", "ps1"])