How to make guest customization work on Ubuntu 18.04.x Server and Desktop
search cancel

How to make guest customization work on Ubuntu 18.04.x Server and Desktop

book

Article ID: 341584

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  •  IP address on Ubuntu 18.04.x Server or Desktop is missing after performing guest customization when network adapter is disconnected.
  • Sometimes with default hardware settings on Ubuntu 18.04.x Server or Desktop, it fails to perform guest customization with open-vm-tools installed.
 In the /var/log/vmware-imc/toolsDeployPkg.log file, you see the entry:
 Customization command failed: Failed to create bus connection: No such file or directory


Environment

VMware vSphere ESXi 6.7
VMware vSphere ESXi 5.5
VMware vSphere ESXi 6.5
VMware vSphere ESXi 6.0

Cause

This issue occurs when:
  • Guest customization package is cleaned after powering on customized virtual machines.
This stops the customization process to complete correctly.
  • It is related to systemd services execution sequence on booting virtual machine.

Resolution

This issue is resolved in vSphere 6.7 U3 and VM's open-vm-tools version 10.3.10 and above, available for download at VMware Downloads.
 


Workaround:
To resolve this issue, follow below provided steps and do not skip the steps.
  1. Open the tmp.conf under /usr/lib/tmpfiles.d/tmp.conf file.
Go to the line 11 and add the prefix # .

For example

#D /tmp 1777 root root -
  1. If you have open-vm-tools installed, open the /lib/systemd/system/open-vm-tools.service file.
         In certain version, path may be different the use find command locate the file 
               #find  /  -iname  open-vm-tools.service
 
Add this line “After=dbus.service” under [Unit]