]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Disable host time sync on VMware guests
[chef.git] / cookbooks / hardware / recipes / default.rb
index 793bda175d168003a6fe6e8f6be0fb69c77cde7e..efe8f3b483cddf8e33253ba0e00b83976c0ad4d3 100644 (file)
@@ -98,6 +98,12 @@ when "VMware, Inc."
     action [:enable, :start]
     supports :status => true, :restart => true
   end
+
+  # May need additional work per:
+  # https://github.com/vmware/open-vm-tools/issues/302
+  execute "vmware-toolbox-cmd-timesync-disable" do
+    command "/usr/bin/vmware-toolbox-cmd timesync disable"
+  end
 end
 
 units.sort.uniq.each do |unit|