add bootdev cmdline param
With recent dracut a bootdev is needed in cmdline, so dracut can waiting for this nic ready early in initqueue. So in this patch bootdev=${_netnic} is added [v1->v2]: use standard cmdline file name 70bootdev.conf Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Acked-by: Baoquan He <bhe@redhat.com>
This commit is contained in:
parent
4874a9539a
commit
ae1db90332
@ -186,6 +186,7 @@ kdump_install_net() {
|
||||
kdump_setup_netdev "${_netdev}"
|
||||
#save netdev used for kdump as cmdline
|
||||
echo "kdumpnic=${_netdev}" > ${initdir}/etc/cmdline.d/60kdumpnic.conf
|
||||
echo "bootdev=${_netdev}" > ${initdir}/etc/cmdline.d/70bootdev.conf
|
||||
}
|
||||
|
||||
#install kdump.conf and what user specifies in kdump.conf
|
||||
|
Loading…
Reference in New Issue
Block a user