Skip to content

Commit a982da8

Browse files
committed
gcve: shellcheck fixes
1 parent 92032ca commit a982da8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

infra/gcp/terraform/k8s-infra-gcp-gcve/vsphere/scripts/boskos-userdata.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
function printProjectUserData() {
1818
NR="${1}"
1919

20-
S2="$(($(($(($NR-1))*16))))"
21-
E2="$(($(($NR*16))-1))"
20+
S2="$(($(($((NR-1))*16))))"
21+
E2="$(($((NR*16))-1))"
2222

23-
S1="$((${S2}/256))"
24-
E1="$((${E2}/256))"
25-
S2="$((${S2}%256))"
26-
E2="$((${E2}%256))"
23+
S1="$((S2/256))"
24+
E1="$((E2/256))"
25+
S2="$((S2%256))"
26+
E2="$((E2%256))"
2727

28-
START="192.168.$((33+$S1)).${S2}"
29-
END="192.168.$((33+$E1)).${E2}"
28+
START="192.168.$((33+S1)).${S2}"
29+
END="192.168.$((33+E1)).${E2}"
3030

3131
printf "k8s-infra-e2e-gcp-gcve-project-%03d:\n" "${NR}"
3232
printf " folder: /Datacenter/vm/prow/k8s-infra-e2e-gcp-gcve-project-%03d\n" "${NR}"

0 commit comments

Comments
 (0)