Merge "Adds deploy.sh for Foreman/QuickStack PATCHSET2: Fixes whitespace issue and...
[genesis.git] / fuel / ci / deploy.sh
1 #!/bin/bash -x
2 set -o xtrace
3 set -o errexit
4 set -o nounset
5 set -o pipefail
6
7 WORKSPACE=$(readlink -e ..)
8 ISO_LOCATION="$(readlink -f $(find $WORKSPACE -iname 'fuel*iso' -type f))"
9 INTERFACE="fuel"
10
11 cd "${WORKSPACE}/deploy"
12 ./deploy_fuel.sh "$ISO_LOCATION" $INTERFACE 2>&1 | tee deploy_fuel.log