I'm trying to set the IP on a RHEL4U5 template that I'm cloning to a VM during the cloning process, and am receiving the below error. We are running the most recent build of ESX Server (3.5), along with whatever version (presumably recent) of VMWare tools is available through it. For reference, I'm also attaching the code. Ideas anybody?
Curiously, I have been unable to set the IP on a VM programmatically, regardless if trying this during the clone process of as a 'standalone' operation.
Message Customization of the guest operating system 'rhel4Guest' is not supported in this configuraton. Microsoft Vista (TM) and Linux guests with Logical Volume Manager are supported only for recent ESX host and VMware Tools versions. Please refer to Virtual Center documentation for supported confgurations.
I have the same error and believe the issue is with the template's drive layout. I have an earlier template with only the system disk layout which I can deploy sucessfully through the UI. Same OS on both templates but the problem template has two attached Virtual disks while the successful template only has the system Virtual disk. I am going to experiment a bit but I suspect the solution is not very elegant as my server layout will require hand adding the second disk.
I'm curious about your disk layout if it is a similar situation?
There is a GuestOS type check that the customization process uses. Look at http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=519581... (KB 5195811).
Usually the fix is to change the VM GuestOS to another value (same OS different version number), run the customization and revert it.
There's some more depreciated OS versions in vSphere 5: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2005981&sl...
Customization Support Matrix: http://www.vmware.com/files/pdf/compatibility-guide/guest-os-customization-metrics.pdf
This work around may still work, but remain unsupported if you switch to a similar version. No guarantees until tested of course.
Thanks stumpr, these are some great pointers! I'll see if I can do the version swap programatically, that does not seem possible for ubuntu, the only options being Ubuntu Linux (32-bit) and Ubuntu Linux (64-bit). The compatibility list shows Ubuntu 10.04 as supported, 11.10 as not supported. Yikes