The VMware preferred installation method for the use of open-vm-tools
Open-vm-tools is a set of an open source services and modules for VMware from third parties and contains utilities that enhances virtualisation, administration, management and functions of the VM in VMware environments.
yum install -y perl gcc make kernel-headers kernel-devel
yum install -y open-vm-tools
Bonus…For Hyper-V the following will install integration services:
yum install -y hyperv-daemons
sudo apt install open-vm-tools-desktop