josenk / terraform-provider-esxi

Terraform-provider-esxi plugin
GNU General Public License v3.0
538 stars 154 forks source link

guest resource should be able to reserve memory #188

Open schmetzyannick opened 1 year ago

schmetzyannick commented 1 year ago

In the esxi user interface, you have the possiblity to reserve the allocated memory for a vm.

image Sorry for the german interface:

It would be nice to have an option for that.

bish0polis commented 1 year ago

I think these are the two VMX parameters we want:

sched.mem.min = "32768"
sched.mem.pin = "TRUE"

The latter one appears to be the 'lock all RAM' bit, and looking at a recent VMX file it may NOT need the 'min' value to be present at all.