* [PATCH] unquote nbd port
@ 2012-08-25 11:42 Wim Muskee
[not found] ` <CAKzfqkepaa87Q8aU5WsNi9TFCpka02eKOfCOaOZg80eOGa=ywA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Wim Muskee @ 2012-08-25 11:42 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
Name based connects fail because of the quotes around the $nbdport.
For name based connects, the -N option also gets included. For
instance nbd-client 192.168.0.1 '-N ltsp' /dev/nbd0.
I believe the quotes are not necessary for actual port numbers.
--- modules.d/95nbd/nbdroot.sh.orig 2012-08-25 13:38:00.817059355 +0200
+++ modules.d/95nbd/nbdroot.sh 2012-08-25 13:38:21.532204861 +0200
@@ -95,7 +95,7 @@
i=$(( $i + 1))
done
-nbd-client $preopts "$nbdserver" "$nbdport" /dev/nbd0 $opts || exit 1
+nbd-client $preopts "$nbdserver" $nbdport /dev/nbd0 $opts || exit 1
# If we didn't get a root= on the command line, then we need to
# add the udev rules for mounting the nbd0 device
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-06 8:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-25 11:42 [PATCH] unquote nbd port Wim Muskee
[not found] ` <CAKzfqkepaa87Q8aU5WsNi9TFCpka02eKOfCOaOZg80eOGa=ywA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-09-06 8:51 ` Harald Hoyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.