From: Thierry Parmentelat Date: Sun, 1 Apr 2012 14:03:27 +0000 (+0200) Subject: containers need to be stopped before they can be destroyed X-Git-Tag: tests-5.1-1~11 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=63f53b92b126837d0f4e8ee2e23917951fdbe629;p=tests.git containers need to be stopped before they can be destroyed --- diff --git a/system/TestPlc.py b/system/TestPlc.py index 23e463d..9b75170 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -497,6 +497,7 @@ class TestPlc: stamp_path=self.vm_timestamp_path() self.run_in_host("rm -f %s"%stamp_path) if self.options.plcs_use_lxc: + self.run_in_host("lxc-stop --name %s"%self.vservername) self.run_in_host("lxc-destroy --name %s"%self.vservername) return True else: