Foreman finish template is not getting resolve when user-data of the image is enabled


I am using Foreman 1.6 and using AWS EC2 as compute resource.
Problem is, Foreman could not able to resolve the finish template when the
user-data of image is enabled. And, I could not able to provision the VM.

When user-date of image is* disabled, *foreman able to resolve the
finish-template and able to provision the vm (Without reading the template,
i.e puppet client installation).
Could you guide me where I am going wrong? Its been two week I am
struggling with this issue.


ยทยทยท -- The information in this message may be proprietary and/or confidential, and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify ATMECS and delete it from your computer.