← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 925165] Re: in ltsp, initramfs-tools/scripts/ltsp_nbd does not respect the parameter "nbdserver"

 

Done in rev1997

=== modified file 'client/initramfs/scripts/ltsp_nbd'
--- client/initramfs/scripts/ltsp_nbd	2011-11-27 04:24:07 +0000
+++ client/initramfs/scripts/ltsp_nbd	2012-02-01 23:38:00 +0000
@@ -38,7 +38,11 @@
         NBD_ROOT_HOST=$( echo "${nbdroot}" | sed 's/:.*//')
         NBD_ROOT_PORT=$( echo "${nbdroot}" | sed 's/.*://')
     else
-        NBD_ROOT_HOST="${ROOTSERVER}"
+        if [ -n "${nbdserver}" ]; then
+            NBD_ROOT_HOST="${nbdserver}"
+        else
+            NBD_ROOT_HOST="${ROOTSERVER}"
+        fi
         if [ -n "$nbdname" ]; then
             NBD_ROOT_NAME=${nbdname}
         else


** Changed in: ltsp
       Status: New => Fix Committed

** Changed in: ltsp (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/925165

Title:
  in ltsp, initramfs-tools/scripts/ltsp_nbd does not respect the
  parameter "nbdserver"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ltsp/+bug/925165/+subscriptions


References