From 1458a922ee9b9f66378650fb8ae00b7ff3f6c486 Mon Sep 17 00:00:00 2001 From: Daniel Clavijo Coca Date: Thu, 20 Jun 2019 10:09:38 -0500 Subject: [PATCH] F #3297: avoid update --- src/vmm_mad/remotes/lib/lxd/container.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vmm_mad/remotes/lib/lxd/container.rb b/src/vmm_mad/remotes/lib/lxd/container.rb index c5af6c8e6e7..f866fdf641a 100644 --- a/src/vmm_mad/remotes/lib/lxd/container.rb +++ b/src/vmm_mad/remotes/lib/lxd/container.rb @@ -129,10 +129,9 @@ def exist?(name, client) # Create a container without a base image def create(wait: true, timeout: '') @lxc['source'] = { 'type' => 'none' } - wait?(@client.post(CONTAINERS, @lxc), wait, timeout) - @lxc['config']['user.one_status'] = '0' - update + + wait?(@client.post(CONTAINERS, @lxc), wait, timeout) @lxc = @client.get("#{CONTAINERS}/#{name}")['metadata'] end