Open-vm-tools: Difference between revisions

From Alpine Linux
(use pkg, cmd & path templates)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
When installing Alpine Linux on an ESXi or VSphere system you definitely want to enable the hypervisor tools. The good news is that Alpine has this package ready to go! Open-VM-Tools provides the VMWare hypervisor info from Alpine and other Linux. https://github.com/vmware/open-vm-tools
When installing Alpine Linux on an ESXi or VSphere system you definitely want to enable the hypervisor tools. The good news is that Alpine has this package ready to go! [https://github.com/vmware/open-vm-tools Open-VM-Tools] provides the VMWare hypervisor info from Alpine and other Linux.


=== Changes ===
=== Changes ===
Line 5: Line 5:
Since alpine 3.12 the open-vm-tools version 11 was split into packages:
Since alpine 3.12 the open-vm-tools version 11 was split into packages:


* open-vm-tools
* {{pkg|open-vm-tools}}
** open-vm-tools-deploypkg
** {{pkg|open-vm-tools-deploypkg}}
** open-vm-tools-guestinfo
** {{pkg|open-vm-tools-guestinfo}}
** open-vm-tools-static
** {{pkg|open-vm-tools-static}}
** open-vm-tools-vmbackup
** {{pkg|open-vm-tools-vmbackup}}


DeployPkg provides support for Guest Customization
guestinfo is required for [https://docs.vmware.com/en/VMware-NSX-Data-Center-for-vSphere/6.3/com.vmware.nsx.admin.doc/GUID-B0CD973F-67DD-49D1-8B9E-8C404F92E528.html IP Discovery] to work.
 
deploypkg provides support for Guest OS Customization


=== Installation ===
=== Installation ===
Enable the community repository by editing {{path|/etc/apk/repositories}} and uncommenting the community repository, and then run <code>apk update</code>.


  apk add open-vm-tools
{{cmd|# apk add open-vm-tools open-vm-tools-guestinfo open-vm-tools-deploypkg}}
  apk add open-vm-tools-guestinfo
  apk add open-vm-tools-deploypkg


=== Start once ===
=== Start once ===
<code>rc-service open-vm-tools start</code>
{{cmd|# rc-service open-vm-tools start}}


=== Add to boot ===
=== Add to boot ===
<code>rc-update add open-vm-tools boot</code>
{{cmd|# rc-update add open-vm-tools boot}}


=== Verify in ESXi/VSphere its working ===
=== Verify in ESXi/VSphere its working ===


Look for: VMware Tools (Running, version:xxxx)
Look for: <code>VMware Tools (Running, version:xxxx)</code>


<gallery>
<gallery>
Working Tools.png|Working ESXi Tools
Working Tools.png|Working ESXi Tools
</gallery>
</gallery>

Latest revision as of 20:43, 21 September 2023

When installing Alpine Linux on an ESXi or VSphere system you definitely want to enable the hypervisor tools. The good news is that Alpine has this package ready to go! Open-VM-Tools provides the VMWare hypervisor info from Alpine and other Linux.

Changes

Since alpine 3.12 the open-vm-tools version 11 was split into packages:

guestinfo is required for IP Discovery to work.

deploypkg provides support for Guest OS Customization

Installation

Enable the community repository by editing /etc/apk/repositories and uncommenting the community repository, and then run apk update.

# apk add open-vm-tools open-vm-tools-guestinfo open-vm-tools-deploypkg

Start once

# rc-service open-vm-tools start

Add to boot

# rc-update add open-vm-tools boot

Verify in ESXi/VSphere its working

Look for: VMware Tools (Running, version:xxxx)