Why does dracut image generation fails with error "/etc/dracut.conf line 54 hv_netvsc command not found" ?
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.