Wait for cloud-init to finish before provisioning 31/10931/1
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 08:07:46 +0000 (10:07 +0200)
commit5fe10c3c65fa218ea1619597ace6df233d2a12d9
treec66b4d028fbdc2254727b0792dfd41b2752bccf1
parent8776f051f855ed6d5e3b25c07848da93ab04d03c
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