Merge pull request #9781 from chrisroberts/f-hyperv-switch

Update script parameter name in option to switchid
This commit is contained in:
Chris Roberts 2018-05-07 07:58:49 -07:00 committed by GitHub
commit faf7f00a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ module VagrantPlugins
dest_path: dest_path, dest_path: dest_path,
data_path: env[:machine].data_dir.to_s.gsub("/", "\\") 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[:memory] = memory if memory
options[:maxmemory] = maxmemory if maxmemory options[:maxmemory] = maxmemory if maxmemory
options[:cpus] = cpus if cpus options[:cpus] = cpus if cpus