From 8ef4ab30f75ce68518826879ae825c1a6a330ce6 Mon Sep 17 00:00:00 2001 From: Masayuki Ishii Date: Wed, 16 Oct 2024 11:52:45 +0900 Subject: [PATCH] Add new network I/F settings Signed-off-by: Masayuki Ishii --- ignitions/common/files/opt/sbin/neco-wait-dhcp-online | 2 +- ignitions/common/files/opt/sbin/setup-local-network | 8 ++++---- ignitions/common/networkd/01-eth0.network | 2 +- ignitions/common/networkd/01-eth1.network | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ignitions/common/files/opt/sbin/neco-wait-dhcp-online b/ignitions/common/files/opt/sbin/neco-wait-dhcp-online index 7a0fca5c1..dd7f2832d 100755 --- a/ignitions/common/files/opt/sbin/neco-wait-dhcp-online +++ b/ignitions/common/files/opt/sbin/neco-wait-dhcp-online @@ -2,7 +2,7 @@ wait_for_address() { for i in $(seq 500); do - ip -o -4 address | grep -w "eth0\|eth1\|eno1\|eno2\|eno12399\|eno12409" >/dev/null + ip -o -4 address | grep -w "eth0\|eth1\|eno1\|eno2\|eno12399\|eno12399np0\|eno12409\|eno12409np1" >/dev/null [ "$?" -eq 0 ] && return sleep 1 done diff --git a/ignitions/common/files/opt/sbin/setup-local-network b/ignitions/common/files/opt/sbin/setup-local-network index 7d0692bc9..57c95f5ee 100755 --- a/ignitions/common/files/opt/sbin/setup-local-network +++ b/ignitions/common/files/opt/sbin/setup-local-network @@ -24,7 +24,7 @@ fi cat >/etc/systemd/network/01-eth0.network </etc/systemd/network/01-eth1.network <