From f0295d661377f5e7c5e265e7bfe98b4d6a02fe33 Mon Sep 17 00:00:00 2001 From: Justin Riley Date: Tue, 17 Sep 2024 18:50:09 -0400 Subject: [PATCH] nerc-ocp-prod: add udev rules for v100 ixgbe nics --- .../machineconfigs/udev-rules/custom-udev-rules-worker.yaml | 5 +++++ .../udev-rules/src/custom-udev-rules-worker.bu | 4 ++++ .../nerc-ocp-prod/machineconfigs/udev-rules/src/ixgbe.rules | 2 ++ 3 files changed, 11 insertions(+) create mode 100644 cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/src/ixgbe.rules diff --git a/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/custom-udev-rules-worker.yaml b/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/custom-udev-rules-worker.yaml index 9788ce09..e6ff238b 100644 --- a/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/custom-udev-rules-worker.yaml +++ b/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/custom-udev-rules-worker.yaml @@ -26,3 +26,8 @@ spec: source: data:;base64,H4sIAAAAAAAC/woOdQqODA5x9bW1VcpLLVHScQnyDHMNCra1VUrKqyiJT81T0vF2DfJz9QEJGRgYGFgZWlgZGOgZKOk4Ood4+vvZ2iolpqQo6fg5+rraKuVlJhsqcZFtqiFOU42UuAABAAD//64yhGWsAAAA mode: 420 path: /etc/udev/rules.d/90-bnxt_en.rules + - contents: + compression: gzip + source: data:;base64,H4sIAAAAAAAC/woOdQqODA5x9bW1VcpLLVHScQnyDHMNCra1VcqsSE9KVdLxdg3yc/UBCRgYGBhYGVpYGRjoGSjpODqHePr72doqJaakKOn4Ofq62irlZSYbKnGRaaYhTjONlLgAAQAA//8YCjzsqAAAAA== + mode: 420 + path: /etc/udev/rules.d/90-ixgbe.rules diff --git a/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/src/custom-udev-rules-worker.bu b/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/src/custom-udev-rules-worker.bu index 22d4d277..18688ebd 100644 --- a/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/src/custom-udev-rules-worker.bu +++ b/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/src/custom-udev-rules-worker.bu @@ -18,3 +18,7 @@ storage: contents: local: bnxt_en.rules mode: 0644 + - path: /etc/udev/rules.d/90-ixgbe.rules + contents: + local: ixgbe.rules + mode: 0644 diff --git a/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/src/ixgbe.rules b/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/src/ixgbe.rules new file mode 100644 index 00000000..ff4c0f13 --- /dev/null +++ b/cluster-scope/overlays/nerc-ocp-prod/machineconfigs/udev-rules/src/ixgbe.rules @@ -0,0 +1,2 @@ +SUBSYSTEM=="net",DRIVERS=="ixgbe",KERNELS=="0000:18:00.0",ACTION=="add",NAME="nic1" +SUBSYSTEM=="net",DRIVERS=="ixgbe",KERNELS=="0000:18:00.1",ACTION=="add",NAME="nic2"