diff --git a/src/cli/etc/oneimage.yaml b/src/cli/etc/oneimage.yaml index 520131c0ea..c632dd5669 100644 --- a/src/cli/etc/oneimage.yaml +++ b/src/cli/etc/oneimage.yaml @@ -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 diff --git a/src/cli/etc/onevnet.yaml b/src/cli/etc/onevnet.yaml index b35d75d920..4193798813 100644 --- a/src/cli/etc/onevnet.yaml +++ b/src/cli/etc/onevnet.yaml @@ -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 diff --git a/src/cli/one_helper/onevnet_helper.rb b/src/cli/one_helper/onevnet_helper.rb index 1afa5f1dfa..5ba12809ce 100644 --- a/src/cli/one_helper/onevnet_helper.rb +++ b/src/cli/one_helper/onevnet_helper.rb @@ -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 diff --git a/src/cloud/ec2/bin/econe-describe-instances b/src/cloud/ec2/bin/econe-describe-instances index 2508060976..7fa9bacc3e 100755 --- a/src/cloud/ec2/bin/econe-describe-instances +++ b/src/cloud/ec2/bin/econe-describe-instances @@ -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