resetting network interface before saving image

7 views
Skip to first unread message

Mauricio Tavares

unread,
Oct 16, 2019, 8:31:08 PM10/16/19
to Packer
So I have packer create a centos image, but when it saves (creates) it, it saves the old mac address, associating it with the default interface. Is there a way to remove that so when I create a vm guest based on said image it will configure the default interface based on whatever mac/uuid it is given?

Rickard von Essen

unread,
Oct 17, 2019, 12:05:45 AM10/17/19
to packe...@googlegroups.com

On Thu, Oct 17, 2019, 02:31 Mauricio Tavares <raub...@gmail.com> wrote:
So I have packer create a centos image, but when it saves (creates) it, it saves the old mac address, associating it with the default interface. Is there a way to remove that so when I create a vm guest based on said image it will configure the default interface based on whatever mac/uuid it is given?

--
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/mitchellh/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/455a2eeb-57e3-4192-8e85-21443edcf97e%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages