Bug#387808: initramfs-tools: scripts/nfs doesn't properly handle when server-ip is included in root-path
Package: initramfs-tools
Version: 0.79
Severity: normal
one more bugfix to the nfs handling. :)
it's a trivial fix, but when the dhcp server passes the server-ip as
part of root-path, it's not correctly handled in scripts/nfs. patch
attached which fixes this.
live well,
vagrant
=== modified file 'scripts/nfs'
--- scripts/nfs
+++ scripts/nfs
@@ -49,7 +49,7 @@
NFSOPTS="-o ${NFSROOT#*,}"
fi
NFSROOT=${NFSROOT%%,*}
- if [ "${NFSROOT#*:}" = "$NFSROOT" ]; then
+ if [ "${NFSROOT#:*}" = "$NFSROOT" ]; then
NFSROOT=${ROOTSERVER}:${NFSROOT}
fi
fi
Reply to: