Commit 63cef6c3 authored by Balazs Lecz's avatar Balazs Lecz
Browse files

LXC: Fix GetAllInstancesInfo()

Signed-off-by: default avatarBalazs Lecz <>
Reviewed-by: default avatarIustin Pop <>
parent 63ac47cc
......@@ -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))
return data
def _CreateConfigFile(self, instance, root_dir):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment