File tree Expand file tree Collapse file tree 7 files changed +29
-29
lines changed Expand file tree Collapse file tree 7 files changed +29
-29
lines changed Original file line number Diff line number Diff line change 250
250
251
251
FILENAME=" ./libvirt/tunnel/profile_$( hostname) .yaml"
252
252
CLUSTER_ID=$( yq eval ' .profile.cluster_id' ${FILENAME} )
253
- declare -a BASTION_SSH_PORTS=( 1023 1033 1043 1053 1063 1073 )
253
+ declare -a BASTION_SSH_PORTS=( 1033 1043 1053 1063 1073 1083 )
254
254
for I in ${BASTION_SSH_PORTS[*]}
255
255
do
256
256
sudo firewall-cmd --permanent --zone=libvirt --add-port=$(( ${I} + ${CLUSTER_ID} )) /tcp || true
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ HTTP_PORT=80
10
10
HTTPS_PORT=443
11
11
12
12
# set -x
13
- declare -a BASTION_SSH_PORTS=( 1023 1033 1043 1053 1063 1073 )
13
+ declare -a BASTION_SSH_PORTS=( 1033 1043 1053 1063 1073 1083 )
14
14
15
15
for FILENAME in profile_* .yaml
16
16
do
Original file line number Diff line number Diff line change @@ -16,17 +16,17 @@ https:
16
16
bastion-port : 8444
17
17
target-port : 443
18
18
bastion0ssh :
19
- bastion-port : 1024
19
+ bastion-port : 1034
20
20
target-port : 22
21
21
bastion1ssh :
22
- bastion-port : 1034
22
+ bastion-port : 1044
23
23
target-port : 22
24
24
bastion2ssh :
25
- bastion-port : 1044
25
+ bastion-port : 1054
26
26
target-port : 22
27
27
bastion3ssh :
28
- bastion-port : 1054
28
+ bastion-port : 1064
29
29
target-port : 22
30
30
bastion4ssh :
31
- bastion-port : 1064
31
+ bastion-port : 1074
32
32
target-port : 22
Original file line number Diff line number Diff line change @@ -16,17 +16,17 @@ https:
16
16
bastion-port : 8443
17
17
target-port : 443
18
18
bastion0ssh :
19
- bastion-port : 1023
19
+ bastion-port : 1033
20
20
target-port : 22
21
21
bastion1ssh :
22
- bastion-port : 1033
22
+ bastion-port : 1043
23
23
target-port : 22
24
24
bastion2ssh :
25
- bastion-port : 1043
25
+ bastion-port : 1053
26
26
target-port : 22
27
27
bastion3ssh :
28
- bastion-port : 1053
28
+ bastion-port : 1063
29
29
target-port : 22
30
30
bastion4ssh :
31
- bastion-port : 1063
31
+ bastion-port : 1073
32
32
target-port : 22
Original file line number Diff line number Diff line change @@ -16,17 +16,17 @@ https:
16
16
bastion-port : 8445
17
17
target-port : 443
18
18
bastion0ssh :
19
- bastion-port : 1025
19
+ bastion-port : 1035
20
20
target-port : 22
21
21
bastion1ssh :
22
- bastion-port : 1035
22
+ bastion-port : 1045
23
23
target-port : 22
24
24
bastion2ssh :
25
- bastion-port : 1045
25
+ bastion-port : 1055
26
26
target-port : 22
27
27
bastion3ssh :
28
- bastion-port : 1055
28
+ bastion-port : 1065
29
29
target-port : 22
30
30
bastion4ssh :
31
- bastion-port : 1065
31
+ bastion-port : 1075
32
32
target-port : 22
Original file line number Diff line number Diff line change @@ -16,20 +16,20 @@ https:
16
16
bastion-port : 8443
17
17
target-port : 443
18
18
bastion0ssh :
19
- bastion-port : 1023
19
+ bastion-port : 1033
20
20
target-port : 22
21
21
bastion1ssh :
22
- bastion-port : 1033
22
+ bastion-port : 1043
23
23
target-port : 22
24
24
bastion2ssh :
25
- bastion-port : 1043
25
+ bastion-port : 1053
26
26
target-port : 22
27
27
bastion3ssh :
28
- bastion-port : 1053
28
+ bastion-port : 1063
29
29
target-port : 22
30
30
bastion4ssh :
31
- bastion-port : 1063
31
+ bastion-port : 1073
32
32
target-port : 22
33
33
bastion5ssh :
34
- bastion-port : 1073
34
+ bastion-port : 1083
35
35
target-port : 22
Original file line number Diff line number Diff line change @@ -16,20 +16,20 @@ https:
16
16
bastion-port : 8444
17
17
target-port : 443
18
18
bastion0ssh :
19
- bastion-port : 1024
19
+ bastion-port : 1034
20
20
target-port : 22
21
21
bastion1ssh :
22
- bastion-port : 1034
22
+ bastion-port : 1044
23
23
target-port : 22
24
24
bastion2ssh :
25
- bastion-port : 1044
25
+ bastion-port : 1054
26
26
target-port : 22
27
27
bastion3ssh :
28
- bastion-port : 1054
28
+ bastion-port : 1064
29
29
target-port : 22
30
30
bastion4ssh :
31
- bastion-port : 1064
31
+ bastion-port : 1074
32
32
target-port : 22
33
33
bastion5ssh :
34
- bastion-port : 1074
34
+ bastion-port : 1084
35
35
target-port : 22
You can’t perform that action at this time.
0 commit comments