Doug,Do you have this code published anywhere? Would love to help out with it if I can, but can’t tackle it just yet.
On January 29, 2015 at 4:10:11 PM, Douglas Garstang ( " target="_blank"> ) wrote:I was trying to write an ohai plugin to add an attribute that tells me if I'm in a VPC or not. Not really sure what I'm doing. This code works on a real VPC instance, but on vagrant it's not even setting is_vpc. :(Doug.
isa_vpc = false
ec2['network_interfaces_macs'].each_pair do |iface, data|
isa_vpc = true
Archive powered by MHonArc 2.6.16.