summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/deploy.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index b6926a7cf..fe40b07b8 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -240,6 +240,13 @@ pushd ${DEPLOY_DIR} > /dev/null
# Prepare the deploy config files based on lab/pod information, deployment
# scenario, etc.
+# Set cluster domain
+case $DEPLOY_SCENARIO in
+ *dpdk*) CLUSTER_DOMAIN=virtual-mcp-ocata-ovs-dpdk.local ;;
+ *) CLUSTER_DOMAIN=virtual-mcp-ocata-ovs.local ;;
+esac
+
+export CLUSTER_DOMAIN
export SSH_KEY=mcp.rsa
export SALT_MASTER=192.168.10.100
export SSH_OPTS="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ${SSH_KEY}"