From: Cong Wang <xiyou.wangcong@xxxxxxxxx> Relax the rules for kdump, we don't specify netroot in kdump. Cc: Dave Young <dyoung@xxxxxxxxxx> Cc: Harald Hoyer <harald@xxxxxxxxxx> Signed-off-by: Cong Wang <xiyou.wangcong@xxxxxxxxx> --- modules.d/40network/parse-bond.sh | 3 --- modules.d/40network/parse-bridge.sh | 3 --- modules.d/40network/parse-vlan.sh | 3 --- 3 files changed, 0 insertions(+), 9 deletions(-) diff --git a/modules.d/40network/parse-bond.sh b/modules.d/40network/parse-bond.sh index 0a4c006..c7bbc63 100755 --- a/modules.d/40network/parse-bond.sh +++ b/modules.d/40network/parse-bond.sh @@ -15,9 +15,6 @@ # Check if bond parameter is valid if getarg bond= >/dev/null ; then - if [ -z "$netroot" ] ; then - die "No netboot configured, bond is invalid" - fi command -v brctl >/dev/null 2>&1 || die "No 'brctl' installed" fi diff --git a/modules.d/40network/parse-bridge.sh b/modules.d/40network/parse-bridge.sh index aaa5a54..6e1fee1 100755 --- a/modules.d/40network/parse-bridge.sh +++ b/modules.d/40network/parse-bridge.sh @@ -13,9 +13,6 @@ # Check if bridge parameter is valid if getarg bridge= >/dev/null ; then - if [ -z "$netroot" ] ; then - die "No netboot configured, bridge is invalid" - fi command -v brctl >/dev/null 2>&1 || die "No 'brctl' installed" fi diff --git a/modules.d/40network/parse-vlan.sh b/modules.d/40network/parse-vlan.sh index efe7bfa..a99c858 100644 --- a/modules.d/40network/parse-vlan.sh +++ b/modules.d/40network/parse-vlan.sh @@ -9,9 +9,6 @@ # Check if vlan parameter is valid if getarg vlan= >/dev/null ; then - if [ -z "$netroot" ] ; then - die "No netboot configured, vlan is invalid" - fi command -v vconfig >/dev/null 2>&1 || die "No 'vconfig' installed" fi -- 1.7.7.6 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html