Wait for cloud-init to finish before provisioning 30/10930/2
authorDavid Garcia <david.garcia@canonical.com>
Wed, 26 May 2021 11:16:51 +0000 (13:16 +0200)
committergarciadav <david.garcia@canonical.com>
Tue, 1 Jun 2021 09:24:10 +0000 (11:24 +0200)
commit8ea797e15b1c203387c0c1e18dc016f9cec98cfd
treef8d43926636ac38959154bda715e911036cf3c32
parentc08c4f7f552c8bb160b1febe301864b922049b30
Wait for cloud-init to finish before provisioning

Before provisioning a native charm, a script is executed to wait until
cloud-init finishes. This will avoid some racing conditions.

Fixes bug 1184

Change-Id: Icc87f90f5941cf7b13bdd7dd01e5544122fb769e
Signed-off-by: David Garcia <david.garcia@canonical.com>
(cherry picked from commit 9074b05b797b591eeb9b86b54c5a699b30454906)
n2vc/provisioner.py