Packer retrieve file from image to machine running packer?

Seems like an obvious thing, but somehow I am missing it

How do I download a file FROM image during image creation. I have provisioners that configure the image and produce a report after that. Would be nice to extract that report - but am not seeing an easy way to do so. Any thoughts?


Erm, nvm - reading comprehension fail - looks like file provisioner has a direction parameter I missed

1 Like