diff --git a/functions b/functions index 24994c0470..f63595d433 100644 --- a/functions +++ b/functions @@ -441,7 +441,12 @@ EOF function wait_for_compute { local timeout=$1 local rval=0 + local compute_hostname time_start "wait_for_service" + compute_hostname=$(iniget $NOVA_CONF DEFAULT host) + if [[ -z $compute_hostname ]]; then + compute_hostname=$(hostname) + fi timeout $timeout bash -x <