What are the supported compute resources for the finish and cloud-init scripts.
Environment
Red Hat Satellite 6
Issue
Compute resources created by booting an image can be configured by a post-configuration script, such as the finish script running on provisioning server, or a pre-boot initialization configuration method, such as the cloud-init script, which is fetched at boot time by the cloud-init service included in the image. The support for these methods varies between image types.
This Knowledgebase solution lists the differences in support for finish scripts and cloud-init scripts among compute resources from different providers.
Resolution
Finish script support:
- Bare metal machines
- OpenStack
- Amazon EC2
Cloud-init script support:
- oVirt and RHEV
- VMware (*)
- OpenStack
- Amazon EC2
- VMware has does not pass the
cloud-initinto the image as-is, but rather converts it into individual actions referred as Custom Spec in the Content from pubs.vmware.com is not included.VMware documentation. Only some fields are converted, the rest are unused. It does not accept "call home"wgetandcurlcall commands therefore VMware VMs initialized withcloud-initstay in build mode forever. This is a known limitation.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.