Package: nbd-client
Version: 1:2.9.14-2
Severity: normal
Tags: patch

when using the NBD root with nbdroot=$server,$port,$device syntax, it sets the
port to the $device. the following patch fixes this.

--- nbd-client.initrd.orig      2010-02-03 00:16:23.000000000 -0800
+++ nbd-client.initrd.new       2010-02-03 01:01:02.000000000 -0800
@@ -17,7 +17,7 @@
                        nbdroot="${x#nbdroot=}"
                        nbdsrv="${nbdroot%%,*}"
                        nbdport="${nbdroot%,*}"
-                       nbdport="${nbdroot##*,}"
+                       nbdport="${nbdport##*,}"
                        nbdbasedev="${nbdroot##*,}"
                        nbdrootdev=/dev/$nbdbasedev
                        ;;

live well,
  vagrant



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to