Ah, then I bet the "first run" symptom is probably a result of using something like omnibus_updater.--~*~ StormeRider ~*~"Every world needs its heroes [...] They inspire us to be better than we are. And they protect from the darkness that's just around the corner."(from Smallville Season 6x1: "Zod")
On why I hate the phrase "that's so lame"... http://bit.ly/Ps3uSSOn Wed, Feb 18, 2015 at 11:04 AM, Brian Hatfield < " target="_blank"> > wrote:And here's the more recent fixed version: https://github.com/chef/ohai/blob/7.4.0/lib/ohai/plugins/linux/virtualization.rb#L153-L190Here's what the older version looks like: https://github.com/chef/ohai/blob/7.0.2/lib/ohai/plugins/linux/virtualization.rb#L130-L156I actually JUST had this problem!If you're using chef before 11.18.6 on Ubuntu > 12.04, upgrade chef - there's a guard since added to Ohai that fixes this issue.
BrianOn Wed, Feb 18, 2015 at 1:27 PM, Douglas Garstang < " target="_blank"> > wrote:This is mighty strange, and something I haven't seen before. With a recent cookbook, node[:virtualization][:system] as reported by ohai is coming up as 'lxc' on AWS EC2 instances when the chef-client first runs. It should be 'xen'.Doug
However, when chef runs again, it returns 'xen', and every attempt I've made to look at it with ohai (even before the chef client starts) shows 'xen'.
What's up with that?
Archive powered by MHonArc 2.6.16.