Add default to metadata in 99-refresh-completed

This metadata isn't present on the seed, causing the calls to
os-apply-config to fail.

Change-Id: Ia2978599013ccd3f39a06e0d8163b62a887c1f6e
This commit is contained in:
Derek Higgins 2013-11-26 13:21:32 +00:00
parent 7abf14ab18
commit bf2de45122
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
set -eux
HANDLE=$(os-apply-config --key completion-handle --type raw)
ID=$(os-apply-config --key instance-id --type raw)
HANDLE=$(os-apply-config --key completion-handle --type raw --key-default "")
ID=$(os-apply-config --key instance-id --type raw --key-default "")
[ -n "$HANDLE" ] || exit 0
[ -n "$ID" ] || exit 0