class Chef::Knife::Cloud::OvirtServerList

Public Instance Methods

before_exec_command() click to toggle source
Calls superclass method
# File lib/chef/knife/ovirt_server_list.rb, line 24
def before_exec_command
  @columns_with_info = [
    { label: 'VM ID', key: 'id' },
    { label: 'Name', key: 'name' },
    { label: 'Cores', key: 'cores' },
    { label: 'Memory', key: 'memory', value_callback: method(:humanize) },
    { label: 'Storage', key: 'storage', value_callback: method(:humanize) },
    { label: 'Status', key: 'status' },
  ]
  super
end