dracut command fails with "Unknown arguments: ifcfg"

Solution Verified - Updated -

Issue

  • Cannot rebuild kdump initramfs due to dracut issue.
  • dracut command fails with "Unknown arguments: ifcfg"
# dracut --quiet --hostonly --hostonly-cmdline --hostonly-i18n --hostonly-mode strict -o 'plymouth dash resume ifcfg' -vv --mount 'xxxxxxxxx:/xxxxxxx /kdumproot//kdump nfs rsize=65536,wsize=65536,tcp,hard,intr,bg,sec=sys,noatime' --no-hostonly-default-device -f /boot/initramfs-3.10.0-1127.el7.x86_64kdump.img 3.10.0-1127.el7.x86_64

Unknown arguments: ifcfg /kdumproot//kdump nfs rsize=65536,wsize=65536,tcp,hard,intr,bg,sec=sys,noatime /boot/initramfs-3.10.0-1127.el7.x86_64kdump.img 3.10.0-1127.el7.x86_64

Environment

  • Red Hat Enterprise Linux 7
  • dracut

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content