]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Mark the other ifcfg file when bridges are used.
authorWarren Togami <wtogami@redhat.com>
Wed, 29 Jul 2009 20:54:53 +0000 (16:54 -0400)
committerWarren Togami <wtogami@redhat.com>
Wed, 29 Jul 2009 20:54:53 +0000 (16:54 -0400)
modules.d/40network/write-ifcfg.sh

index 2728d4f241013609f7ec840c05e2dea3af334fde..3d9b3b184370396487940278690d804cdd463fd7 100755 (executable)
@@ -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