Group names instead of IDs in 'secondary groups' field of 'oneuser show' output

I wonder if there is a way in 5.12.0.x version of OpenNebula to show group names instead of their IDs in a ‘Secondary groups’ field of ‘oneuser show’ output?

Hello @knawnd

Currently there is no option to do that. You can modify the file /usr/lib/one/ruby/cli/one_helper/oneuser_helper.rb and in the function format_resource you can get the name of each secondary group and print it.

Best,
Álex.