#!/bin/bash
REGION_NAME=${1}

# Fast forward E7
./ff7.sh ${REGION_NAME}
source .bash_profile
source ./hosts-env.sh

# Fast forward E12-1
tiup install dm dmctl:v7.5.1
# tiup update --self && tiup update dm && tiup update dm
tiup dm deploy dm-test 7.5.1 ./solution-dm-topology-six-nodes.yaml --yes
tiup dm start dm-test
sleep 10
tiup dm display dm-test
