lib/cloudstack-cli/commands/system_vm.rb in cloudstack-cli-0.14.1 vs lib/cloudstack-cli/commands/system_vm.rb in cloudstack-cli-0.15.0

- old
+ new

@@ -8,13 +8,13 @@ def list vms = client.list_system_vms(options) if vms.size < 1 say "No system VM's found." else - table = [["Zone", "State", "Type", "Name"]] + table = [%w(Name Zone State Type)] vms.each do |vm| table << [ - vm['zonename'], vm['state'], vm['systemvmtype'], vm['name'] + vm['name'], vm['zonename'], vm['state'], vm['systemvmtype'] ] end print_table table say "Total number of system VM's: #{vms.size}" end