\uD83D\uDCD8 Instructions
Remove existing
open-vm-tools
:Code Block sudo yum remove open-vm-tools
Install
open-vm-tools
dependencies:Code Block yum install build-essential libmspack-devel libxml2-devel \ xmlsec1-devel libXext-devel libXinerama-devel libXi-devel \ libcurl-devel curl protobuf-compiler protobuf protobuf-devel \ grpc-cpp rpc-plugins grpc-devel containerd-devel libtool-ltdl-devel \ glib2-devel pam-devel
Download latest
open-vm-tools
source:Code Block wget https://github.com/vmware/open-vm-tools/releases/download/stable-12.1.0/open-vm-tools-12.1.0-20219665.tar.gz
Uncompress tar ball:
Code Block tar xvf open-vm-tools-12.1.0-20219665.tar.gz
Build
open-vm-tools
:Code Block cd open-vm-tools* autoreconf -i ./configure --without-x make sudo make install && sudo ldconfig
Create
vmtoolsd.service
in/usr/lib/systemd/system/
with the following content:Code Block [Unit] Description=Service for virtual machines hosted on VMware Documentation=http://github.com/vmware/open-vm-tools ConditionVirtualization=vmware Requires=vgauthd.service After=vgauthd.service DefaultDependencies=no Before=cloud-init-local.service [Service] ExecStart=/usr/local/bin/vmtoolsd TimeoutStopSec=5 [Install] WantedBy=multi-user.target Also=vgauthd.service
Create
vgauthd.service
in/usr/lib/systemd/system/
with the following content:Code Block [Unit] Description=VGAuth Service for open-vm-tools Documentation=http://github.com/vmware/open-vm-tools ConditionVirtualization=vmware PartOf=vmtoolsd.service [Service] ExecStart=/usr/local/bin/VGAuthService -s TimeoutStopSec=5 [Install] RequiredBy=vmtoolsd.service
Reload
systemd
units:Code Block systemctl daemon-reload
Enable and start units:
Code Block systemctl enable --now vgauthd systemctl enable --now vmtoolsd
Check
open-vm-tools
version with eithervmtoolsd
orvmware-rpctool
:Code Block vmtoolsd --version VMware Tools daemon, version 12.1.0.37487 (build-20219665) vmtoolsd --cmd "info-get guestinfo.vmtools.description" open-vm-tools 11.0.5 build 15389592 vmware-rpctool "info-get guestinfo.vmtools.description" open-vm-tools 11.0.5 build 15389592
Finally, check with the
vss-cli
:Code Block vss-cli --columns moref,name,folder.path,tools_running_status,tools_version compute vm ls -f name=vss-vm12345 moref name folder.path tools_running_status tools_version -------- ----------------- ---------------- ---------------------- --------------- vm-12345 1803P-vss-vm12345 Public > Client1 guestToolsRunning 12320
\uD83D\uDCCB Related articles
Filter by label (Content by label) | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|