Copying File in Image during packer process,

11 views
Skip to first unread message

jaiswa...@gmail.com

unread,
Aug 30, 2021, 9:42:23 AMAug 30
to Packer
Hello

Is there any way to add file in the C:\windows\temp using packer process when creating new Windows Image.

Thanks in advance.

Megan Marsh

unread,
Aug 30, 2021, 12:48:13 PMAug 30
to packe...@googlegroups.com
You should be able to do what you want using the file provisioner: https://www.packer.io/docs/provisioners/file

jaiswa...@gmail.com

unread,
Aug 30, 2021, 3:35:45 PMAug 30
to Packer
Yes,  show that KB after posting the question.
Its working for me now, 
Thanks

Reply all
Reply to author
Forward
0 new messages