aboutsummaryrefslogtreecommitdiffstats
path: root/vicn/resource/lxd/lxc_container.py
diff options
context:
space:
mode:
Diffstat (limited to 'vicn/resource/lxd/lxc_container.py')
-rw-r--r--vicn/resource/lxd/lxc_container.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/vicn/resource/lxd/lxc_container.py b/vicn/resource/lxd/lxc_container.py
index 654b3bc5..8c8b4816 100644
--- a/vicn/resource/lxd/lxc_container.py
+++ b/vicn/resource/lxd/lxc_container.py
@@ -154,6 +154,7 @@ class LxcContainer(Node):
container = self._get_container_description()
log.debug('Container description: {}'.format(container))
client = self.node.lxd_hypervisor.client
+
self._container = client.containers.create(container, wait=True)
def _get_container_description(self):