Monday, May 11, 2009

SLES VMware Templates with OSP VMware Tools

I've been working on supporting Novell SUSE Linux Enterprise Server 10.2 SP2 (64-bit) on VMware 3.5U3.  The standard VMware tools installation from within Virtual Center is difficult to support because kernel patches may require a recompiliation.  Recently, VMware released precompiled tools known as Operating System Packages.  These precompiled binaries support installation and updating using the native operating system tools--in this case rug.
Here is a simple process to subscribe to the OSP tools:
mkdir /tmp/gpgkey
cd /tmp/gpgkey
rpm --import /tmp/gpgkey/
rug service-add --type=YUM vmware-tools-collection
rug subscribe vmware-tools-collection
rug install -y -c vmware-tools-collection vmware-tools
Update all vmware tools is simple at this point:
rug update vmware-tools-collection
As is removal of all vmware tools:
rug remove vmware-tools-* open-vm-tools-*
I have come across one issue with the use of the OSP tools which I am researching with the help of VMware support: templates seem to fail when using OSP.  Changing out the tools to the native Virtual Center tools allows the template to succeed.  The error message is "Customization of the guest operating system 'sles10_64Guest' is not supported in this configuration..."
Hopefully this is just some simple installation mistake.  If not, I may be stuck with the Virtual Center vmtools for now.

1 comment:

  1. Hi,

    Were you able to get an answer from VM support around the "Customization..." error?