Why does dracut image generation fails with error "/etc/dracut.conf line 54 hv_netvsc command not found" ?

Solution Verified - Updated -

Issue

  • Building an Azure image from a VMware guest as per this link. When adding the Hyper-V drivers, get the following error:
[root@test ~]# tail /etc/dracut.conf

# mount / and /usr read-only by default
#ro_mnt="no"

# set the directory for temporary files
# default: /var/tmp
#tmpdir=/tmp

# Hyper-V modules
add_drivers+=”hv_vmbus hv_netvsc hv_storvsc”

[root@test ~]# dracut -q
/etc/dracut.conf: line 54: hv_netvsc: command not found

Environment

  • Red Hat Enterprise Linux 7.2

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