[root@msi ~]# dracut --help | grep hostonly
-H, --hostonly Host-Only mode: Install only what is needed for
-N, --no-hostonly Disables Host-Only mode
--hostonly-mode <mode>
Specify the hostonly mode to use. <mode> could be
In "sloppy" hostonly mode, extra drivers and modules
--hostonly-cmdline Store kernel command line arguments needed
--no-hostonly-cmdline Do not store kernel command line arguments needed
--no-hostonly-default-device
--hostonly-i18n Install only needed keyboard and font files according
--no-hostonly-i18n Install all keyboard and font files available.
--hostonly-nics [LIST]
[root@deyu ~]# dracut -N initramfs-`uname -r`.img `uname -r`
[root@deyu ~]# dracut --add-drivers usb-storage initramfs-`uname -r`.img `uname -r`