When running a Packer build which is based on a "fat image", ansible-init runs during boot of the Packer build VM. This is undesirable as:
In the general case it may take actions which are not appropriate during a build
When ansible-init completes it writes its sentinel file into the resulting image, which means booting a cluster instance using the resulting image never runs ansible-init
This PR disables ansible-init during packer builds via a metadata flag.
When running a Packer build which is based on a "fat image",
ansible-init
runs during boot of the Packer build VM. This is undesirable as:This PR disables ansible-init during packer builds via a metadata flag.