XenAPI: Fix final script to include functions

Generally a ubuntu template is supplied - but in the case
where it is not, we need to source functions before sourcing
stackrc (Through xenrc)

Change-Id: I8325cf1c6f83946b7798e6d1bb8278e86831d3c4
This commit is contained in:
Bob Ball 2014-05-15 21:12:50 +01:00
parent 527f21c7e7
commit d06d4550de

View File

@ -14,6 +14,9 @@ set -o xtrace
# This directory
BASE_DIR=$(cd $(dirname "$0") && pwd)
# Source the top level functions
source $BASE_DIR/../../../functions
# For default setings see xenrc
source $BASE_DIR/../xenrc