# ohai-6.16.0/lib/ohai/plugins/ec2.rb def has_ec2_mac? network[:interfaces].values.each do |iface| unless iface[:arp].nil? if iface[:arp].value?("fe:ff:ff:ff:ff:ff") Ohai::Log.debug("has_ec2_mac? == true") return true end end end Ohai::Log.debug("has_ec2_mac? == false") false end ããããVPC å ã§ã¯ãã®ã¡ã½ãã㯠false ãè¿ããããEC2 ã§ããã¨å¤å®ãããªãã/etc/chef/ohai/hints/ec2.json ãããã°ããã®ã¡ã½ããã使ããã¨ãªããEC2 ã§ããã¨å¤å®ããããã«ãªã ã¡ãªã¿ã« /
{{#tags}}- {{label}}
{{/tags}}