[CentOS] INITRD_MODULES

Wed Apr 29 19:48:19 UTC 2020
Jerry Geis <jerry.geis at gmail.com>

I am trying to take a CentOS 7 img and get hyperv to boot.

First step.
qemu-img convert "CentOS7.img" -O vhdx -o subformat=dynamic "CentOS7.vhdx"

after adding new hyper-v I get dracut-timeout...
So doing some searching it says add hv_vmbus hv_netvsc hv_storvsc to
INITRD_MODULES.

which doesnt really exist any more in CentOS 7.

I did find /etc/dracut.conf and add_drivers...
I uncommented the line for '#add_drivers += "" ' added the above modules
and then ran:
grub2-mkconfig -o /boot/grub2/grub.cfg

Then redid the convert above... Hyper-V still gives me dracut-timeout
errors.

Thoughts ? Did I miss something ?

Thanks

Jerry