network/ifup.sh: enable bridged vlan interfaces
authorKevin Yung <Kevin.Yung@myob.com>
Wed, 6 Feb 2013 12:33:42 +0000 (13:33 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 6 Feb 2013 12:52:30 +0000 (13:52 +0100)
commit56d60c4b2d65399a7d9fe187e1c48c9fc65dcd5f
tree9e362148999e6708d6d1330c2711610f0396244e
parent62fd2b36446ec28de4de092b093fd05b548f8190
network/ifup.sh: enable bridged vlan interfaces

To use vlan for net boot, you need to specify vlan and ip kernel options
for the boot interface. For example,

 vlan=eth1.1:eth1 bootdev=eth1.1
 ip=1.2.3.4:1.2.3.4::255.255.255.0:my-hostname:eth1:none

To use bridge for net boot, you need to specify bridge and ip kernel
option for the boot interface. For example

 bridge=br1:eth1 bootdev=br1
 ip=1.2.3.4:1.2.3.4::255.255.255.0:my-hostname:eth1:none

In my environment, I needs to boot machines from network within
a vlan or on a bridged network. I found curent dracut release
if-up.sh script in 40network module bypass ip setting for both
bridge and vlan interface.
modules.d/40network/ifup.sh