Use /proc/vz/vestat for running VE listing
Various vzctl scripts use /proc/vz/veinfo as an indicator of OpenVZ
running on HN. But this file appears only after venet module is loaded.
This module easily can not be loaded, but OpenVZ works.
/proc/vz/vestat is much better indicator.
This patch produces considered replacement.
6 files changed