Cleanup in packer

9 views
Skip to first unread message

Kashish Dhawan

unread,
Sep 15, 2021, 1:01:51 AMSep 15
to Packer
Does packer cleans up provisioning scripts after the build is successfull
because i cant see any scripts in /tmp after build is complete, but when packer was running there were scripts like scripts_nnnn.sh in /tmp

Megan Marsh

unread,
Sep 16, 2021, 12:04:06 PMSep 16
to packe...@googlegroups.com
Yes, Packer cleans up after itself. Also, /tmp regularly empties, so if the image reboots between provisioning it's probably wiping those files.

On Tue, Sep 14, 2021 at 10:01 PM Kashish Dhawan <kashis...@gmail.com> wrote:
Does packer cleans up provisioning scripts after the build is successfull
because i cant see any scripts in /tmp after build is complete, but when packer was running there were scripts like scripts_nnnn.sh in /tmp

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/71f546b0-1f1a-431d-b04a-8ccc345231can%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages