Fix error for vlan over team network interface
Related: bz2076416 Upstream: Fedora Conflict: None commitb7e58619d1
Author: Coiby Xu <coxu@redhat.com> Date: Mon Sep 13 22:13:44 2021 +0800 Fix error for vlan over team network interface6f9235887f
("module-setup.sh: enable vlan on team interface") skips establishing teaming network by mistake. Although it could use one of slave netifs to establish connection to transfer vmcore to remote fs, it breaks the implicit assumption of creating an identical network topology to the 1st kernel. Fixes:6f92358
("module-setup.sh: enable vlan on team interface") Signed-off-by: Coiby Xu <coxu@redhat.com> Reviewed-by: Thomas Haller <thaller@redhat.com> Reviewed-by: Philipp Rudo <prudo@redhat.com> Signed-off-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
812f2c967f
commit
ec669a8e8b
@ -445,6 +445,9 @@ kdump_setup_vlan() {
|
||||
elif kdump_is_bond "$_phydev"; then
|
||||
(kdump_setup_bond "$_phydev" "$(get_nmcli_connection_apath_by_ifname "$_phydev")") || exit 1
|
||||
echo " vlan=$(kdump_setup_ifname "$_netdev"):$_phydev" > "${initdir}/etc/cmdline.d/43vlan.conf"
|
||||
elif kdump_is_team "$_phydev"; then
|
||||
(kdump_setup_team "$_phydev") || exit 1
|
||||
echo " vlan=$(kdump_setup_ifname "$_netdev"):$_phydev" > "${initdir}/etc/cmdline.d/43vlan.conf"
|
||||
else
|
||||
_kdumpdev="$(kdump_setup_ifname "$_phydev")"
|
||||
echo " vlan=$(kdump_setup_ifname "$_netdev"):$_kdumpdev ifname=$_kdumpdev:$_netmac" > "${initdir}/etc/cmdline.d/43vlan.conf"
|
||||
|
Loading…
Reference in New Issue
Block a user