X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FSubstrate.py;h=c026049dc81a49b2dea2ebacca9976b17c969a57;hb=5148b9f217612f5044034a3f2efd7a69a9a25529;hp=d6d54242a735888d4fd136ddeabe5659cdcda5ff;hpb=4297f83e55247a16c587d1aae4205f198d17fd69;p=tests.git diff --git a/system/Substrate.py b/system/Substrate.py index d6d5424..c026049 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -581,7 +581,10 @@ class PlcLxcBox (PlcBox): command = ['/root/lxc-driver.sh', '-c', 'sense_all'] lxc_stat = self.backquote_ssh (command) for lxc_line in lxc_stat.split("\n"): - if not lxc_line: continue + if not lxc_line: + continue + if 'vplc' not in lxc_line: + continue lxcname = lxc_line.split(";")[0] pid = lxc_line.split(";")[1] timestamp = lxc_line.split(";")[2]