https://github.com/jornane/vmware-check-tools
VMWare Tools recompile system service
https://github.com/jornane/vmware-check-tools
Last synced: 3 months ago
JSON representation
VMWare Tools recompile system service
- Host: GitHub
- URL: https://github.com/jornane/vmware-check-tools
- Owner: jornane
- License: gpl-3.0
- Created: 2013-03-14T09:17:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-12-11T12:06:48.000Z (over 7 years ago)
- Last Synced: 2025-01-31T22:11:13.591Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# VMware Tools recompile system service
> You don't need this anymore! Most OSes have `open-vm-tools` in their repo, which works a lot better.
When running a Linux virtual machine on a VMware Hypervisor you are adviced to install the VMware Guest Tools on the virtual machine.
But after every kernel upgrade you’ll have to recompile them.
This can become a tedious task when you have a lot of virtual machines.## What will it do
This system service will compile the VMware Guest Tools once for every new kernel.## What will it not do
This system service will not install the Guest Tools if they have never been installed manually before, and it will not keep them up to date, meaning that you still have to update manually when you upgrade the hypervisor.
Maybe this feature will be added in the future.
Patches are welcome.# Installation
## VMware Tools
In the vSphere client, choose **Guest** -> **Install/Upgrade VMware Tools**.Execute the following script:
```bash
mkdir -p /mnt/sr0 \
&& mount /dev/sr0 /mnt/sr0 \
&& cd \
&& tar -xzvf /mnt/sr0/VMwareTools-*.tar.gz \
&& umount /mnt/sr0 \
&& rmdir /mnt/sr0 \
&& yum install -y kernel-headers kernel-devel perl gcc make eject \
&& vmware-tools-distrib/vmware-install.pl --default
```## Recompile system service
```bash
#!/bin/sh
git clone git://github.com/yorn/VMware-check-tools.git
cp VMware-check-tools/init.d/* /etc/init.d/
cp VMware-check-tools/sysconfig/* /etc/sysconfig/
chmod +x /etc/init.d/VMware-check-tools
chkconfig VMware-check-tools on
rm -rf VMware-check-tools
```