Hi all I need to allow start same ltsp client in several ways: thin,fat, autologin... sadly, the [xx:xx:xx...] mac entries in lts.conf file is not an option for me, as using the same client to boot different configurations and/or image files
So I've added a "ltsp.ltsconf=xxx" option for kernel command line at pxegrub boot menu, that lets 05-getltsconffile script to do the work here is the two-line patch: ----------------- cut here ------------ --- /opt/ltsp/i386/usr/share/ltsp/init-ltsp.d/05-getltsconffile 2014-02-27 05:22:36.000000000 +0100 +++ /opt/ltsp/i386/usr/share/ltsp/init-ltsp.d/05-getltsconffile 2014-07-09 09:55:41.724540579 +0200 @@ -9,7 +9,8 @@ fileonly=${filename##*/} pathonly=${filename%$fileonly} lts_conf_temp=$(mktemp) - tftp "$SERVER" -c get ${pathonly:-/ltsp/i386/}lts.conf $lts_conf_temp >/dev/null + lts_conf_file=${LTSCONF:-lts.conf} + tftp "$SERVER" -c get ${pathonly:-/ltsp/i386/}${lts_conf_file} $lts_conf_temp >/dev/null # only overwrite lts.conf if it has non-zero size. if [ -s "$lts_conf_temp" ]; then mv "$lts_conf_temp" /etc/lts.conf ------------------ cut here --------------- Comments are wellcome. If agreed, please apply :-) Cheers Juan Antonio ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net