Unable to pass cloud config user data (IP, hostname) when deploying a new linux system using the property "customizeGuestOs" in the blueprint
search cancel

Unable to pass cloud config user data (IP, hostname) when deploying a new linux system using the property "customizeGuestOs" in the blueprint

book

Article ID: 380522

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Unable to get a newly created linux VM to read/use user data for cloud config. This process with a vCenter customization specification in vCenter is working. However, when deploying a new system in Aria Automation the functionality is not working, and the resulting VM does not see the data (IP, hostname).

Environment

VMware Aria Automation 8.16.x

Cause

When using the property "customizeGuestOs" in the blueprint, VMware guest customization tools does not run and does not set the IP from Extensibility Network Reconfigure. Also, the machine hostname does not get set either. Extra care must be taken not to introduce conflicts between cloudConfig initialization commands and customization specifications.

Resolution

First, it is important to confirm that the datasource is OVF instead of VMware. Then, disable the network configuration in the template (/etc/cloud/cloud.cfg):

network:
  config: disabled

After making the mentioned changes, the user-data is passed correctly and the IP and hostname are set properly.

 

Additional Information