Every instance in a VPC has a default network interface, called the primary network interface (eth0). You cannot detach a primary network interface from an instance.
Is it possible to attach an existing elastic network interface (ENI) to an instance when using any of the amazon builders? I need eth0 to have the specific MAC address of the ENI. I have a pre-provisioned ENI available and need to attach it to the instance at device index 0. I have tried to script this using shell scripts, but unfortunately it seems you can't replace eth0 after the instance has been stood up. Is there a way to do this that I am missing?
--
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/9ee1ea4a-6656-4f33-8419-084d964e5c2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Seems like it's not possible.
Why do you need it as eth0?
You received this message because you are subscribed to a topic in the Google Groups "Packer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/packer-tool/PZbQvADzCw8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt-S5fnJ1BaeE%3DSqsxEFQ-soLAthW1KVEzanmfgfyG7MZQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAMy%2BZrgZP78wfwyxykBt7RVcTaVSwwVSkoQBVy%2Bh0woHQ7fVOQ%40mail.gmail.com.