From 63f53b92b126837d0f4e8ee2e23917951fdbe629 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sun, 1 Apr 2012 16:03:27 +0200 Subject: [PATCH] containers need to be stopped before they can be destroyed --- system/TestPlc.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.43.0