I would start by using the amazon-ebs builder and a provisioner script that
installs the ENA driver. That is probably all you have to do.

On Mon, Dec 17, 2018, 15:54 Frank Dias <[email protected] wrote:

> I have a packer build that uses the AMI source from market place and the
> parket place image does not support Gen5 instances.
> during the build I am adding the required drivers the use Gen5 instance. I
> have done this manually and now trying to get it into a packer build.
>
> any suggestions as to how to do this with packer.
>
>
> my manual process;
>
> install ENA drivers
> create second volume
> dd first volume to second volume
> shutdown instance
> unmount first volume
> mount second volume
> start image to confirm working instance
> shutdown instance
> create ami from instance
> launch instance from new ami, no market place instance restrictions
>
> thanks in advance
>
>
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/32c4b445-95c7-432e-91ff-49a302eb8af9%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/32c4b445-95c7-432e-91ff-49a302eb8af9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt_0oFkWAfQQZ0KMzZYkVq3fax6N1ypj3n7O3fpUAA-PhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to