Guest OS Customization fails on Linux OS without Perl Time/HiRes.pm module installed
search cancel

Guest OS Customization fails on Linux OS without Perl Time/HiRes.pm module installed

book

Article ID: 324698

calendar_today

Updated On:

Products

VMware Cloud on AWS

Issue/Introduction

Symptoms:
  • Guest OS Customization fails on some Linux VMs (Most are RedHat, CentOS and Ubuntu Servers with default configuration).
  • If the version of VMTools is newer than 10.3.0,  you see error message in the toolsDeployPkg.log:
Can't locate Time/HiRes.pm in @INC (you may need to install the Time::HiRes module)
  • This issue is observed only on VMC Version 1.7, 1.7 Patch 01, and 1.7 Patch 01v2.


Cause


The customization will fail if the Linux templates/VM do not have Perl Time/HiRes.pm installed.

Resolution

Currently, there is no resolution.

Workaround:
To work around this issue, install the Time/HiRes.pm on vm.

Example:
yum install -y perl-Time-HiRes