From 2730fe7ec9ab1c39c9bda2d63c5745026639a783 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Fri, 4 May 2018 08:55:18 -0700 Subject: [PATCH] Update script parameter name in option to switchid Fixes #9774 --- 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 716cfb705..434d991ad 100644 --- a/plugins/providers/hyperv/action/import.rb +++ b/plugins/providers/hyperv/action/import.rb @@ -140,7 +140,7 @@ module VagrantPlugins dest_path: dest_path, data_path: env[:machine].data_dir.to_s.gsub("/", "\\") } - options[:switchname] = switch if switch + options[:switchid] = switch if switch options[:memory] = memory if memory options[:maxmemory] = maxmemory if maxmemory options[:cpus] = cpus if cpus