1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Fix columns size

This commit is contained in:
Daniel Molina 2011-07-11 13:59:42 +02:00
parent 4fb4e1f30b
commit 7470af7a28
4 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@
:NAME:
:desc: Name of the Image
:size: 12
:size: 16
:left: true
:USER:
@ -24,7 +24,7 @@
:REGTIME:
:desc: Registration time of the Image
:size: 20
:size: 16
:PUBLIC:
:desc: Whether the Image is public or not

View File

@ -32,7 +32,7 @@
:PUBLIC:
:desc: Whether the Virtual Network is public or not
:size: 1
:size: 3
:LEASES:
:desc: Number of this Virtual Networks given leases

View File

@ -105,7 +105,7 @@ class OneVNetHelper < OpenNebulaHelper::OneHelper
end
column :PUBLIC, "Whether the Virtual Network is public or not",
:size=>1 do |d|
:size=>3 do |d|
OpenNebulaHelper.public_to_str(d['PUBLIC'])
end

View File

@ -33,7 +33,7 @@ List and describe running instances
Usage:
econe-describe-instances [OPTIONS]
Options:
--help, -h
@ -95,7 +95,7 @@ begin
end
rescue Exception => e
exit -1
end
end
auth = "#{access}:#{secret}" if secret && access
@ -116,11 +116,11 @@ end
instances = rc['reservationSet']['item'][0]['instancesSet']['item']
owner = rc['reservationSet']['item'][0]['ownerId']
fmt = "%-12s %-13s %-13s %-13s %-15s %-10s"
fmt = "%-10s %-11s %-13s %-11s %-15s %-10s"
if headers
puts fmt % ["Owner", "Id", "ImageId", "State", "IP", "Type"]
puts "------------------------------------------------------------------------------------------------------------"
puts "-----------------------------------------------------------------------------------"
end
if instances