Skip to content

Commit

Permalink
missing memory reservation in deployVirtualMachine
Browse files Browse the repository at this point in the history
  • Loading branch information
thetuxkeeper authored and bigkraig committed May 5, 2016
1 parent f5f0398 commit 5d20078
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions builtin/providers/vsphere/resource_vsphere_virtual_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,9 @@ func (vm *virtualMachine) deployVirtualMachine(c *govmomi.Client) error {
NumCPUs: vm.vcpu,
NumCoresPerSocket: 1,
MemoryMB: vm.memoryMb,
MemoryAllocation: &types.ResourceAllocationInfo{
Reservation: vm.memoryAllocation.reservation,
},
}

log.Printf("[DEBUG] virtual machine config spec: %v", configSpec)
Expand Down

0 comments on commit 5d20078

Please sign in to comment.