Skip to content

Commit b8be733

Browse files
authored
Revert "feat: add preflight for ip forwarding" (#1470)
Revert "feat: add preflight for ip forwarding (#1449)" This reverts commit 65f3996.
1 parent 08c53cb commit b8be733

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

pkg/preflights/host-preflight.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,6 @@ spec:
148148
exclude: '{{ eq .GlobalCIDR.CIDR "" }}'
149149
CIDRRangeAlloc: '{{ .GlobalCIDR.CIDR }}'
150150
desiredCIDR: {{.GlobalCIDR.Size}}
151-
- run:
152-
collectorName: "kernel-parameters"
153-
command: "sysctl"
154-
args: ["-a"]
155151
analyzers:
156152
- cpu:
157153
checkName: CPU
@@ -838,14 +834,3 @@ spec:
838834
- pass:
839835
when: "a-subnet-is-available"
840836
message: Specified CIDR is available.
841-
- textAnalyze:
842-
checkName: IP forwarding
843-
fileName: host-collectors/run-host/kernel-parameters.txt
844-
regex: 'net.ipv4.ip_forward = 1'
845-
outcomes:
846-
- pass:
847-
when: "true"
848-
message: IP forwarding is enabled.
849-
- fail:
850-
when: "false"
851-
message: IP forwarding must be enabled. To enable it, edit /etc/sysctl.conf, add or uncomment the line 'net.ipv4.ip_forward=1', and run 'sudo sysctl -p'.

0 commit comments

Comments
 (0)