Update script parameter name in option to switchid

Fixes #9774
This commit is contained in:
Chris Roberts 2018-05-04 08:55:18 -07:00
parent 6152f2aa0e
commit 2730fe7ec9
1 changed files with 1 additions and 1 deletions

View File

@ -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