From: Warren Togami Date: Wed, 29 Jul 2009 20:54:53 +0000 (-0400) Subject: Mark the other ifcfg file when bridges are used. X-Git-Tag: 0.8~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=edae4b5efba6c78f140313a8a19da1826bbf1fb5;p=thirdparty%2Fdracut.git Mark the other ifcfg file when bridges are used. --- diff --git a/modules.d/40network/write-ifcfg.sh b/modules.d/40network/write-ifcfg.sh index 2728d4f24..3d9b3b184 100755 --- a/modules.d/40network/write-ifcfg.sh +++ b/modules.d/40network/write-ifcfg.sh @@ -44,6 +44,7 @@ for netif in $IFACES ; do echo "DEVICE=$ethname" >> /tmp/ifcfg/ifcfg-$ethname echo "TYPE=Ethernet" >> /tmp/ifcfg/ifcfg-$ethname echo "ONBOOT=yes" >> /tmp/ifcfg/ifcfg-$ethname + echo "NETBOOT=yes" >> /tmp/ifcfg/ifcfg-$ethname echo "HWADDR=$(cat /sys/class/net/$ethname/address)" >> /tmp/ifcfg/ifcfg-$ethname echo "BRIDGE=$netif" >> /tmp/ifcfg/ifcfg-$ethname echo "NAME=$ethname" >> /tmp/ifcfg/ifcfg-$ethname