Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
dracut.6322
0200-fix_nfs_with_ip_instead_of_hostname.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0200-fix_nfs_with_ip_instead_of_hostname.patch of Package dracut.6322
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')
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor