[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug 1417] Provide a way to skip ltsp-make-client during installation



http://bugs.skolelinux.org/show_bug.cgi?id=1417





--- Comment #2 from John Sigurd Skogtvedt <jss@bzz.no>  2010-01-15 11:04:34 ---
(In reply to comment #1)
> Any idea how to implement this?  I assume it should be controlable using
> preseeding.
> 

Hmm, given that ltsp-make-client is run by cfengine it's a bit difficult.
Maybe something like this?

Index: cf/cf.ltsp
===================================================================
--- cf/cf.ltsp  (revisjon 61274)
+++ cf/cf.ltsp  (arbeidskopi)
@@ -135,7 +135,7 @@
         # Need to run after both mkslapdcert (firstpass) and
         # snakeoil-on-ice (secondpass), and before
         # debian-edu-pxeinstall (forthpass).
-        "/usr/sbin/ltsp-make-client"
+        "/bin/sh -c ${quote}grep -q skip-ltsp-make-client /proc/cmdline ||
/usr/sbin/ltsp-make-client${quote}"

        # Divert some binaries to get them working with Pulseaudio or
        # ESD on thin clients.


-- 
Configure bugmail: http://bugs.skolelinux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


Reply to: