Hi, On Thu, Dec 4, 2014 at 9:10 AM, Alejandro Feijóo <alfei...@cesga.es> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Hi. > > Just one quick questión. > > now, if i perfom onevm list my output return the options. > > > ID USER GROUP NAME STAT UCPU UMEM HOST TIME > > > But... its possible to add customs VAR? For example for us will be a > great idea if i can see how vcpu or memory the user set in the template > > > ... in short... its possible set VCPU_TEMPLATE MEM_TEMPLATE for example? > > Thanks in advance. > You can add new columns directly in the /usr/lib/one/ruby/cli/one_helper/onevm_helper.rb file [1]. To make that new column visible, the name needs to be added to /etc/one/cli/onevm.yaml [2] and/or the default set [3]. Regards [1] https://github.com/OpenNebula/one/blob/master/src/cli/one_helper/onevm_helper.rb#L142 [2] https://github.com/OpenNebula/one/blob/master/src/cli/etc/onevm.yaml [3] https://github.com/OpenNebula/one/blob/master/src/cli/one_helper/onevm_helper.rb#L211 -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org | @OpenNebula <http://twitter.com/opennebula> <cmar...@opennebula.org>
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org