Will this also work for and automatic attribute (that OHAI sets)? Would you format like [:etc].delete(:passwd) ?
update: This model should work for automatic attributes
knife exec -E "nodes.transform(:all) { |n| n.automatic_attrs[:etc].delete(:passwd) rescue nil }"
Will this also work for and automatic attribute (that OHAI sets)? Would you format like [:etc].delete(:passwd) ?
update: This model should work for automatic attributes
knife exec -E "nodes.transform(:all) { |n| n.automatic_attrs[:etc].delete(:passwd) rescue nil }"