Backtick-escape the facter env command in powershell. Fixes issue 3958
This commit is contained in:
parent
af436553d3
commit
7d52f0e14d
|
@ -140,7 +140,7 @@ module VagrantPlugins
|
|||
|
||||
# If we're on Windows, we need to use the PowerShell style
|
||||
if windows?
|
||||
facts.map! { |v| "$env:#{v};" }
|
||||
facts.map! { |v| "`$env:#{v};" }
|
||||
end
|
||||
|
||||
facter = "#{facts.join(" ")} "
|
||||
|
|
Loading…
Reference in New Issue