sorry, i failed to test one of the cases, this patch should fix it. really.
still need to implement the ip= options... will work on that another day. live well, vagrant
--- scripts/nfs 2006-08-19 12:36:07.000000000 -0400 +++ ../vagrant-initramfs-tools/scripts/nfs 2006-08-19 12:33:53.000000000 -0400 @@ -17,6 +17,17 @@ . /tmp/net-${DEVICE}.conf if [ "x${NFSROOT}" = "xauto" ]; then NFSROOT=${ROOTSERVER}:${ROOTPATH} + elif [ "x${NFSROOT}" != "x" ]; then + # support nfsroot option from linux sources Documentation/nfsroot.txt: + # nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>] + if [ "x${NFSOPTS}" = "x" ] && [ "${NFSROOT#*,}" != "${NFSROOT}" ] ; then + NFSOPTS="-o ${NFSROOT#*,}" + fi + NFSROOT=${NFSROOT%%,*} + if [ "${NFSROOT#*:}" = "$NFSROOT" ]; then + # get rootserver from dhcp + NFSROOT=${ROOTSERVER}:${NFSROOT} + fi fi if [ "x${NFSOPTS}" = "x" ]; then