Configure a guest customization method for an unsupported Linux distribution
search cancel

Configure a guest customization method for an unsupported Linux distribution

book

Article ID: 313164

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Linux guest OS customization fails on a Linux distribution that is not officially supported by VMware guest OS customization.

This article explains how to configure compatibleCustomizationMethod to enable guest OS customization for some unsupported Linux distributions. 

Cause

The customization problem occurs because VMware guest OS customization does not recognize the unsupported Linux distribution and therefore does not know how to customize it.

Resolution

This issue is resolved in VMware vCenter Server 8.0 Update 3 release. To download go to - Download Broadcom products and software

If an unsupported Linux distribution is designed as 100% compatible with a supported Linux distribution such as Red Hat or Ubuntu, it can be customized with an existing customization method.

To workaround the issue, use the predefined customization method names.
 

GOSC METHOD ID Compatible OS Distro Supported since vCenter Version
"GOSC_METHOD_1" RHEL / CentOS / OracleLinux 7.x - 8.5 8.0 U3
"GOSC_METHOD_2" SLES 12 and above 8.0 U3
"GOSC_METHOD_3" Debian 8.x – Debian 10.x 8.0 U3
"GOSC_METHOD_4" Ubuntu 17.x – Ubuntu 19.04 8.0 U3
"GOSC_METHOD_5" Ubuntu 19.10 - Ubuntu 23.04 8.0 U3
"GOSC_METHOD_6" Debian 11.x and above 8.0 U3
"GOSC_METHOD_7" RHEL / CentOS / OracleLinux / RockyLinux / AlmaLinux 8.6 - 8.8 8.0 U3
"GOSC_METHOD_8" RHEL / CentOS / OracleLinux / RockyLinux / AlmaLinux 9.x and above 8.0 U3
"GOSC_METHOD_9" Ubuntu23.10 and above                      8.0 U3

Note: Choose the supported method according to the vCenter releases running in the environment.

Two ways to apply an existing customization method:

  1. Set compatibleCustomizationMethod in Linux guest OS customization specification and use the specification to customize a new Linux OS. Currently compatibleCustomizationMethod can be set by vAPI or Vim but not by the vSphere UI.
  2. Create /etc/vmware-tools/customization.conf in guest OS and configure customization method by setting COMPATIBILITY to the appropriate GOSC METHOD ID. For example, to set the customization method to GOSC_METHOD_1, add the following to customization.conf:

[GOSC]
COMPATIBILITY=GOSC_METHOD_1

If a customization method is specified in both ways, the method specified in /etc/vmware-tools/customization.conf supersedes the one in the guest OS customization specification.

Note :-
The open-vm-tools maintainer for new Linux OS distributions is expected to include /etc/vmwaretools/customization.conf in their open-vm-tools package with the customization method set appropriately.
If such a file is not included, or the customization method is not set, contact the 3rd party distributions to get the issue addressed.

See attached customization.conf.example file.




 

 

Attachments

customization.conf.example get_app