Merge pull request #4313 from w3ttr3y/master
Fixes 4309: Error when provisioning Windows host using Puppet
This commit is contained in:
commit
6e4541110b
|
@ -125,7 +125,7 @@ module VagrantPlugins
|
||||||
script = Vagrant::Util::TemplateRenderer.render(path, options: {
|
script = Vagrant::Util::TemplateRenderer.render(path, options: {
|
||||||
username: shell.username,
|
username: shell.username,
|
||||||
password: shell.password,
|
password: shell.password,
|
||||||
command: command,
|
command: command.gsub("\"", "`\""),
|
||||||
})
|
})
|
||||||
guest_script_path = "c:/tmp/vagrant-elevated-shell.ps1"
|
guest_script_path = "c:/tmp/vagrant-elevated-shell.ps1"
|
||||||
file = Tempfile.new(["vagrant-elevated-shell", "ps1"])
|
file = Tempfile.new(["vagrant-elevated-shell", "ps1"])
|
||||||
|
|
Loading…
Reference in New Issue