diff options
Diffstat (limited to 'ci/deploy/deploy.sh')
-rwxr-xr-x | ci/deploy/deploy.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/deploy/deploy.sh b/ci/deploy/deploy.sh index e68368a6..af044f42 100755 --- a/ci/deploy/deploy.sh +++ b/ci/deploy/deploy.sh @@ -179,6 +179,11 @@ if [ $DRY_RUN -eq 1 ]; then exit 1 fi +if [ ! -x ${WORKSPACE}/opnfv.bin ]; then + echo "opnfv.bin does not exist in WORKSPACE or is not executable, exit." + exit 1 +fi + test -d ${VM_STORAGE} || mkdir -p ${VM_STORAGE} function create_node |