[PATCH] mkdumprd: Remove ifcfg from dracut's modules

Dangyi Liu dliu at redhat.com
Thu Aug 6 09:47:28 UTC 2015


Ifcfg depends on network module, which is quite large (20M) and useless
when using a local kdump target. Also we don't really need ifcfg to
setup network interfaces. So just remove it.

Signed-off-by: Dangyi Liu <dliu at redhat.com>
---
 mkdumprd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkdumprd b/mkdumprd
index 28ecdd7..6e3d975 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -17,7 +17,7 @@ SAVE_PATH=$(grep ^path $conf_file| cut -d' '  -f2)
 SAVE_PATH=$(echo $SAVE_PATH | tr -s /)
 
 extra_modules=""
-dracut_args=("--hostonly" "-o" "plymouth dash resume")
+dracut_args=("--hostonly" "-o" "plymouth dash resume ifcfg")
 OVERRIDE_RESETTABLE=0
 
 perror_exit() {
-- 
2.4.3



More information about the kexec mailing list