Can I make packer to delete old image if it is exist!

21 views
Skip to first unread message

Ibrahim Yesilay

unread,
Sep 18, 2020, 8:05:55 AM9/18/20
to Packer
Hi guys,

amazing tool thank you!!

I m using Packer to create costum image on OCI and I also run Ansible playbook.  Everything works fine but just I have problem with image created...

I run build command two time and it created same image two times... But I want it to create just one image and if old one exist I want it to delete old one... Is that possible some how ?

Thank you
ss:
ss.png

Megan Marsh

unread,
Sep 18, 2020, 1:07:00 PM9/18/20
to packe...@googlegroups.com
Off the top of my head, I don't think Packer will do this.

--
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/562027bf-f43b-4b06-8b27-f8ace5913546n%40googlegroups.com.

Ibrahim Yesilay

unread,
Sep 30, 2020, 3:14:45 AM9/30/20
to Packer
Than you Megan for your answer. I m watching your speech at the moment. Very nice. Brava :)
Reply all
Reply to author
Forward
0 new messages