Fix race condition 51/5851/2
authorAdam Israel <adam.israel@canonical.com>
Thu, 15 Feb 2018 19:00:36 +0000 (14:00 -0500)
committerAdam Israel <adam.israel@canonical.com>
Thu, 15 Feb 2018 19:02:03 +0000 (14:02 -0500)
commitb88f4949d1b333a359aa329d6015342de82e2bd0
tree83fa262b3fb8d0c09a9002a019489ebd30852770
parente2c017e4a4f618847e5e5b7dc37670868755c8dc
Fix race condition

This fixes a race condition where cloud-init may not be finished before
we try to run apt-get update, causing the script to fail.

Fixes bug #463

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: I241d769bb5d3f07d1ede628df58f7949649eefd9
jenkins/VCA/update-lxd-image.sh