I need to have an arbitrary script ran if an instance is run on an ENA enabled ami (eg, c5.2xlarge) A shell command easily enough validates the type:
cat /sys/class/dmi/id/product_name
c5.2xlarge
...but I'm guessing there is something in ohai that will help with this detection as well. Not sure where / how to access the attribute however. Any ideas?