diff options
Diffstat (limited to 'initramfs')
| -rw-r--r-- | initramfs/stage3-stuff/etc/functions | 2 | ||||
| -rwxr-xr-x | initramfs/stage3-stuff/init | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/initramfs/stage3-stuff/etc/functions b/initramfs/stage3-stuff/etc/functions index 8eff711f..7eeb6d44 100644 --- a/initramfs/stage3-stuff/etc/functions +++ b/initramfs/stage3-stuff/etc/functions @@ -889,7 +889,7 @@ include_in_fsroot_union () { nbdport=$(uri_token $ROOTFS port) nbdrfst=$(uri_token $ROOTFS path) echo -e "(D)NBD $ROOTFS parsed to $srvproto - $nbdhost - \ - $nbdport - $nbdrfst" >> /tmp/felixtestlog + $nbdport - $nbdrfst" >> /tmp/testlog #FIXME: do mount ;; aoe) diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init index fd15bd4c..3284ede7 100755 --- a/initramfs/stage3-stuff/init +++ b/initramfs/stage3-stuff/init @@ -514,7 +514,7 @@ if [ -n "${bldmod}" ] ; then RDEV=/dev/nbd0 waitfor "${RDEV}" 20000 || error "$init_nbddev" i=0 - while ! nbd-client $bldhost $bldport ${RDEV} ; do + while ! nbd-client $bldhost $bldport ${RDEV} -persist ; do usleep 100000 i=$(($i + 1)) if [ $i -ge 1000 ] ; then |
