From 649fea13ff47d8f33fd48ede87110e9100064e54 Mon Sep 17 00:00:00 2001 From: Richard Mayes Date: Tue, 13 Jun 2017 18:20:48 +0100 Subject: [PATCH] Detect the result of the has_vmcx_support properly Fixes #8677 --- plugins/providers/hyperv/action/import.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/providers/hyperv/action/import.rb b/plugins/providers/hyperv/action/import.rb index 7e27994ed..3c08090e8 100644 --- a/plugins/providers/hyperv/action/import.rb +++ b/plugins/providers/hyperv/action/import.rb @@ -48,7 +48,7 @@ module VagrantPlugins 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 vm_dir.each_child do |f| if f.extname.downcase == '.vmcx'