network: parse root=dhcp also with network-manager module
Move the logic from network-legacy to common network code.master
parent
381ab6b7cd
commit
35efada5ec
|
|
@ -36,7 +36,6 @@ install() {
|
||||||
inst_simple -H "/etc/dhclient.conf"
|
inst_simple -H "/etc/dhclient.conf"
|
||||||
cat "$moddir/dhclient.conf" >> "${initdir}/etc/dhclient.conf"
|
cat "$moddir/dhclient.conf" >> "${initdir}/etc/dhclient.conf"
|
||||||
inst_hook pre-udev 60 "$moddir/net-genrules.sh"
|
inst_hook pre-udev 60 "$moddir/net-genrules.sh"
|
||||||
inst_hook cmdline 91 "$moddir/dhcp-root.sh"
|
|
||||||
inst_hook cmdline 92 "$moddir/parse-ibft.sh"
|
inst_hook cmdline 92 "$moddir/parse-ibft.sh"
|
||||||
inst_hook cmdline 95 "$moddir/parse-vlan.sh"
|
inst_hook cmdline 95 "$moddir/parse-vlan.sh"
|
||||||
inst_hook cmdline 96 "$moddir/parse-bond.sh"
|
inst_hook cmdline 96 "$moddir/parse-bond.sh"
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ install() {
|
||||||
inst_script "$moddir/netroot.sh" "/sbin/netroot"
|
inst_script "$moddir/netroot.sh" "/sbin/netroot"
|
||||||
inst_simple "$moddir/net-lib.sh" "/lib/net-lib.sh"
|
inst_simple "$moddir/net-lib.sh" "/lib/net-lib.sh"
|
||||||
inst_hook pre-udev 50 "$moddir/ifname-genrules.sh"
|
inst_hook pre-udev 50 "$moddir/ifname-genrules.sh"
|
||||||
|
inst_hook cmdline 91 "$moddir/dhcp-root.sh"
|
||||||
|
|
||||||
dracut_need_initqueue
|
dracut_need_initqueue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue