-
Notifications
You must be signed in to change notification settings - Fork 108
Update time synchonization settings and defaults #499
Description
Description
Today the plugin has tools_sync_time set to false by default.
The plugin required an updates to align with the recommended default practices and allow for more recent options in vSphere 7.0 and later as follows:
The following options control VMware Tools settings on the virtual machine:
tools_sync_time: (Optional) Enable the guest operating system to synchronization its clock with the host when the virtual machine is powered on or resumed. Requires VMware Tools to be installed. Default: true.
NOTE: For vSphere 7.0 Update 1 and later.
tools_sync_time_with_host_periodically: (Optional) Enable the guest operating system to periodically synchronize its clock with the host. Default: false.
NOTE: For vSphere 7.0 Update 1 and later. For previous versions, setting tools_sync_time should enable periodic synchronization.
This would align with what has been added in the Terraform provider.
Use Case(s)
Proper setting of time sync with VMware Tools by default and by configuration.
Potential configuration
tools_sync_time_with_host_periodically = truePotential References
https://registry.terraform.io/providers/hashicorp/vsphere/latest/docs/resources/virtual_machine