From e64f7cc9dc8fb6ca18f0b350ea2acd0c778814c8 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sun, 1 Dec 2019 15:51:38 +0000 Subject: [PATCH] Install open-vm-tools on VMware guests --- cookbooks/hardware/recipes/default.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 110273d82..793bda175 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -91,6 +91,13 @@ when "Supermicro" end when "IBM" units << "0" +when "VMware, Inc." + package "open-vm-tools" + + service "open-vm-tools" do + action [:enable, :start] + supports :status => true, :restart => true + end end units.sort.uniq.each do |unit| -- 2.43.2