File 0200-fix_nfs_with_ip_instead_of_hostname.patch of Package dracut.892

Index: dracut-037/modules.d/95nfs/module-setup.sh
===================================================================
--- dracut-037.orig/modules.d/95nfs/module-setup.sh	2015-05-22 15:59:54.517359010 +0200
+++ dracut-037/modules.d/95nfs/module-setup.sh	2015-05-22 15:59:54.773373353 +0200
@@ -54,9 +54,9 @@
     
     ### ip= ###
     if [[ $nfs_device = [0-9]*\.[0-9]*\.[0-9]*.[0-9]* ]] || [[ $nfs_device = \[.*\] ]]; then
-        nfs_address="$nfs_device"
+        nfs_address="${nfs_device%%:*}"
     else
-        lookup=$(host $(echo ${nfs_device%%:*})| head -n1)
+        lookup=$(host "${nfs_device%%:*}"| head -n1)
         nfs_address=${lookup##* }
     fi
     ifname=$(ip -o route get to $nfs_address | sed -n 's/.*dev \([^ ]*\).*/\1/p')