Stop the container stop before destroying.

Make sure we stop the continer before destorying it.

Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
Chuck Short
2015-09-28 23:07:14 -04:00
parent c117af96f0
commit 70f5002bcf

View File

@@ -99,6 +99,8 @@ class LXDContainerUtils(object):
host=host):
return
self.container_stop(instance_name, host)
(state, data) = self.client.client('destroy',
instance=instance_name,
host=host)