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
1 file changed