Hi,
If resource config values are set on a template, will those changes propagate to any clones made from that template? For example if this is set on a guest (which is later converted to a template), will the clones generated from it have the same settings?
get-vm $name | Get-VMResourceConfiguration | Set-VMResourceConfiguration -MemReservationMB 0 -MemLimitMB $null -CpuReservationMhz 0 -CpuLimitMhz $null
Thanks,
-T
The previous answer is correct, but there is a small caveat.
The Limit part of the resource configuration settings is determined by the resource pool or the host where the cloned VMs will be in.
In your case, since you do not set both limits, this will not play, but be aware that limits are not cloned.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes. When you clone vms from the template they will inherit the same config from the template. Reason is whenever you change configuration of a vm, the configuration file( .vmx) of the vm is changed and when you are performing cloning the .vmx file of the clone will be the replica of the template's .vmtx file
The previous answer is correct, but there is a small caveat.
The Limit part of the resource configuration settings is determined by the resource pool or the host where the cloned VMs will be in.
In your case, since you do not set both limits, this will not play, but be aware that limits are not cloned.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank you, sir.