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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.