X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e64f7cc9dc8fb6ca18f0b350ea2acd0c778814c8..afc5ca8ce8d32f4c7ac49d1559e075b925280f8a:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 793bda175..6c14fd873 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -94,6 +94,19 @@ when "IBM" when "VMware, Inc." package "open-vm-tools" + # Remove timeSync plugin completely + # https://github.com/vmware/open-vm-tools/issues/302 + file "/usr/lib/open-vm-tools/plugins/vmsvc/libtimeSync.so" do + action :delete + notifies :restart, "service[open-vm-tools]" + end + + # Attempt to tell Host we are not interested in timeSync + execute "vmware-toolbox-cmd-timesync-disable" do + command "/usr/bin/vmware-toolbox-cmd timesync disable" + ignore_failure true + end + service "open-vm-tools" do action [:enable, :start] supports :status => true, :restart => true