Merge pull request #8678 from caveman-dick/fixWindow2012R2Issue
Fixes #8677 - Detect the result of the has_vmcx_support.ps1 properly
This commit is contained in:
commit
8437dccca2
|
@ -48,7 +48,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
vmcx_support = env[:machine].provider.driver.execute("has_vmcx_support.ps1", {})
|
vmcx_support = env[:machine].provider.driver.execute("has_vmcx_support.ps1", {})['result']
|
||||||
if vmcx_support
|
if vmcx_support
|
||||||
vm_dir.each_child do |f|
|
vm_dir.each_child do |f|
|
||||||
if f.extname.downcase == '.vmcx'
|
if f.extname.downcase == '.vmcx'
|
||||||
|
|
Loading…
Reference in New Issue