diff --git a/lib/hypervisor/hv_lxc.py b/lib/hypervisor/hv_lxc.py index 28be446488678a61df683a9a8d4b0f9dac17865b..9176ad7fe684c48c2689f21c8222bb0718c6c7f6 100644 --- a/lib/hypervisor/hv_lxc.py +++ b/lib/hypervisor/hv_lxc.py @@ -195,10 +195,9 @@ class LXCHypervisor(hv_base.BaseHypervisor): @return: [(name, id, memory, vcpus, stat, times),...] """ - # TODO: read container info from the cgroup mountpoint data = [] for name in self.ListInstances(): - data.append((name, 0, 0, 0, 0, 0)) + data.append(self.GetInstanceInfo(name)) return data def _CreateConfigFile(self, instance, root_dir):