diff --git a/tests/pytest/cluster/clusterEnvSetup/buildClusterEnv.sh b/tests/pytest/cluster/clusterEnvSetup/buildClusterEnv.sh index 52ead0675b4bb3a496e2c77e634611c984ffc1f2..36fd4197b6c5df189c436651c0f777e48f75d100 100755 --- a/tests/pytest/cluster/clusterEnvSetup/buildClusterEnv.sh +++ b/tests/pytest/cluster/clusterEnvSetup/buildClusterEnv.sh @@ -110,7 +110,7 @@ function clusterUp { sed -i "s/td2.0-node3/td2.0-node$i/g" node$i.yml sed -i "s/'tdnode3'/'tdnode$i'/g" node$i.yml sed -i "s#/node3/#/node$i/#g" node$i.yml - sed -i "s#/hostname: tdnode3/#/hostname: tdnode$i/#g" node$i.yml + sed -i "s#hostname: tdnode3#hostname: tdnode$i#g" node$i.yml sed -i "s#ipv4_address: 172.27.0.9#ipv4_address: 172.27.0.`expr $i + 6`#g" node$i.yml fi docker_run=$docker_run" -f node$i.yml "