commit | 1c9388df700bc060d5a3014c20a5fafe0c192d5f | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Dec 06 18:34:53 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Dec 06 18:34:53 2012 +0400 |
tree | 088cb5349393d812d3a701c3c3ecbd144ca3cdec | |
parent | 8fec4357ce55bf1b60d90499eacc7242aa44b335 [diff] |
vzlist: show if onboot field is unset Field onboot was just yes/no (or true/false in json output), but internally it can be in one of three states: 0 NONE (i.e. unset) 1 YES 2 NO This patchs adds vzlist support to display the 'unset' state, as either '-' (in conventional output) or 'null' (in json output). This functionality is needed by the following patch. Signed-off-by: Kir Kolyshkin <kir@openvz.org>