lib/fog/vsphere/requests/compute/create_vm.rb in fog-1.22.1 vs lib/fog/vsphere/requests/compute/create_vm.rb in fog-1.23.0
- old
+ new
@@ -6,9 +6,10 @@
# build up vm configuration
vm_cfg = {
:name => attributes[:name],
:guestId => attributes[:guest_id],
+ :version => attributes[:hardware_version],
:files => { :vmPathName => vm_path_name(attributes) },
:numCPUs => attributes[:cpus],
:numCoresPerSocket => attributes[:corespersocket],
:memoryMB => attributes[:memory_mb],
:deviceChange => device_change(attributes),