[one-users] Widening list command output?

Héctor Sanjuán hsanjuan at opennebula.org
Mon Oct 31 16:31:56 PDT 2011


I think you can do a small change in
/usr/lib/one/ruby/cli/one_helper/oneimage_helper.rb: format_pool():

            column :NAME, "Name of the Image", :left, :size=>12 do |d|
                d["NAME"]
            end

I haven't tried, but if you change :size i'd expect it to print larger
names.

Hope it helps,

Héctor Sanjuán
OpenNebula Developer

El 31/10/11 21:58, Karl Katzke escribió:
> Is there a quick/easy way to widen the output of the OpenNebula commands
> beyond the basic 80 characters wide?
> 
> For instance, `oneimage list` crowds things such that the image name can
> be only 12 chars wide. “OpenSuSE 11.” is 12 chars wide and there isn’t
> an easy way to abbreviate it to be less than that.
> 
> Thanks,
> Karl Katzke
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



More information about the Users mailing list