I'm trying to create a Packer AMI image for EC2 based off of CentOS 7. I'm able to get provisioning working just fine, I can upgrade and install packages without a hitch.
The problem I'm having is that the Docker daemon won't start, and I need it running at build time to be able to bake some Docker images onto the machine.
Is there a way to acquire an interactive shell to the EC2 build instance during the Packer build so I can debug what is going wrong with it? Until I figure out what is failing, I can't finish my work on this AMI.
sleep 1200
into provision script, and ssh into instance while it is waiting? – Dusan Bajic