Commit ecfd83b
committed
fix(helm-e2e): read default gateway from /proc/net/route, not iproute2
The CI container (ghcr.io/nvidia/openshell/ci:latest) does not have the
`ip` command installed, so the kubeconfig-rewrite block exited 127 with
`set -euo pipefail`. Read the default gateway directly from
/proc/net/route instead — that file is always present on Linux and
needs no extra package. Decode the gateway field as a little-endian
32-bit hex string into dotted decimal.1 parent d138767 commit ecfd83b
1 file changed
Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
133 | 145 | | |
134 | 146 | | |
135 | 147 | | |
| |||
0 commit comments