lib/testlab/container/lxc.rb in testlab-0.4.14 vs lib/testlab/container/lxc.rb in testlab-0.4.15
- old
+ new
@@ -88,9 +88,10 @@
self.lxc.destroy(%(-f))
build_lxc_config(self.lxc_clone.config)
else
self.lxc.stop
+ self.lxc.destroy(%(-f)) if self.persist
end
true
end