File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
profile :
2
2
arch : " s390x"
3
3
cluster_capacity : 2
4
- cluster_id : 0
4
+ cluster_id : 3
5
5
environment : " bastion-z"
6
6
libvirt :
7
7
bastion-port : 16512
16
16
bastion-port : 8446
17
17
target-port : 443
18
18
bastion0ssh :
19
- bastion-port : 1076
19
+ bastion-port : 1036
20
20
target-port : 22
21
21
bastion1ssh :
22
- bastion-port : 1077
22
+ bastion-port : 1046
23
23
target-port : 22
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ PORTS+=" -R $(yq eval '.https.bastion-port' ${filename}):127.0.0.1:$(yq eval '.h
47
47
48
48
declare -a BASTION_ADDRS=( " 192.168.126.10" " 192.168.1.10" " 192.168.2.10" " 192.168.3.10" " 192.168.4.10" " 192.168.6.10" )
49
49
50
- for CLUSTER_NUM in $( seq 0 ${ CLUSTER_CAPACITY} )
50
+ for CLUSTER_NUM in $( seq 0 $(( CLUSTER_CAPACITY- 1 )) )
51
51
do
52
52
BASTION_SSH=" .bastion${CLUSTER_NUM} ssh"
53
53
BASTION_ADDR=${BASTION_ADDRS[${CLUSTER_NUM}]}
You can’t perform that action at this time.
0 commit comments