vzlist: introduce -t option to disable trimming
This should be very usable for scripting.
Note that maybe not all the print_* functions support it,
so a code review is necessary to check.
Before:
# vzlist -octid,ip,features,status -a
CTID IP_ADDR FEATURES STATUS
200 - - running
300 - sysfs:off running
301 1.2.3.4 sysfs:off,ppp:o running
After:
# vzlist -octid,ip,features,status -a -t
CTID IP_ADDR FEATURES STATUS
200 - - running
300 - sysfs:off running
301 1.2.3.4 1.2.3.5 1.2.3.6 sysfs:off,ppp:on,bridge:on running
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed