do not add fstab-sys module in dracut cmdline
fstab-sys module will be added automaticlly when there's --mount passed So no need to explictly add it in dracut cmdline Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
b14b692242
commit
88b03bf0ba
2
mkdumprd
2
mkdumprd
@ -13,7 +13,7 @@ SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
|
|||||||
SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2)
|
SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2)
|
||||||
[ -z "$SAVE_PATH" ] && SAVE_PATH="/var/crash"
|
[ -z "$SAVE_PATH" ] && SAVE_PATH="/var/crash"
|
||||||
extra_modules=""
|
extra_modules=""
|
||||||
dracut_args=("--hostonly" "--add" "kdumpbase" "--add" "fstab-sys" "--add" "kernel-modules" "-c" "/dev/null" "-I" "/sbin/makedumpfile" "-o" "plymouth dash")
|
dracut_args=("--hostonly" "--add" "kdumpbase" "--add" "kernel-modules" "-c" "/dev/null" "-I" "/sbin/makedumpfile" "-o" "plymouth dash")
|
||||||
|
|
||||||
add_dracut_arg() {
|
add_dracut_arg() {
|
||||||
while [ $# -gt 0 ];
|
while [ $# -gt 0 ];
|
||||||
|
Loading…
Reference in New Issue
Block a user