diff --git a/lib/fog/vsphere/requests/compute/update_vm.rb b/lib/fog/vsphere/requests/compute/update_vm.rb index 9f7cbd96..5bb2a161 100644 --- a/lib/fog/vsphere/requests/compute/update_vm.rb +++ b/lib/fog/vsphere/requests/compute/update_vm.rb @@ -20,6 +20,10 @@ def update_vm(server) # Memory spec[:memoryMB] = attributes[:memory_mb] + # HotAdd + spec[:cpuHotAddEnabled] = attributes[:cpuHotAddEnabled] + spec[:memoryHotAddEnabled] = attributes[:memoryHotAddEnabled] + # Volumes device_change.concat(update_vm_volumes_specs(vm_mob_ref, server.volumes))