Monday 19 January 2015

Centos 7, you cannot use Open-VM-Tools to customize VMs on vsphere 5.5x


howto fix your CenOS 7 template image so it can be used in vsphere guest customize deploy.



So you decided to switch slowly from CentOS6 to CentoOS7 in your vmware infrastrucure.
(FYI: good luck with systemd and ethx naming)


So you got friendly with systemd, you tailored your machine..updated yum, deleted the history and ssh keys...and want do deploy new machines from the brand new CenOS7 template.

You deploy the template, use customize and fill up the fields. After the deploy u realize that nothing of was done. Search vmware KB, google ad even yahoo for the error.....


or just read the following:

1. Install if you didn't already the open-vm-tools
# yum install open-vm-tools


2. Create a file, /etc/yum.repos.d/vmware-tools.repo, with the following content:
[vmware-tools]
name = VMware Tools
baseurl = http://packages.vmware.com/packages/rhel7/x86_64/
enabled = 1
gpgcheck = 1
Install the package:

# yum install open-vm-tools-deploypkg


3. Edit /etc/redhat-release and change the line with
Red Hat Enterprise Linux Server release 7.0 (Maipo)

No comments:

Post a Comment