Question & Answer
Question
When VMware tools and cloud-init are both enabled on an image used for deploys cloud-init will fail to perform post deployment configuration. How do we enable both to be active at the same time?
Answer
The best method is to change the nova.conf file that is for the compute that is managing VMware (If you have multiple computes with VMware endpoints set this for each one.)
There are three prerequisites should be satisfied to use userdata for guest customization (Note: for cloud-init userdata must be in the format cloud-init script for the VMware tools guest customization format should be XML.)
VMware tools requirements:
- DHCP is disabled for the network
- VMware tool is installed on the template
- Guest customization is enabled
for cloud-init:
customization_enabled = false
[{"Product":{"code":"SGKRPG","label":"OpenStack"},"Business Unit":{"code":"BU016","label":"Multiple Vendor Support"},"Component":"Nova","Platform":[{"code":"PF016","label":"Linux"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"","label":""}}]
Was this topic helpful?
Document Information
Modified date:
28 January 2020
UID
nas8N1021051