Hello community Alex has been working on some new features to make it easier to manage multiple LTSP images using openSUSE's kiwi-ltsp-setup tool. Here is a brief outline and links to documentation on getting started with using these new features.
http://lizards.opensuse.org/2010/09/08/kiwi-ltsp-multiple-image-support-improvements/ Things upstream and other distributions may find interesting are functions setup_pxe_boot_menu(), create_custom_menu(), write_boot_menu_entry(), setup_nbd() and setup_nbd_service_entry() in kiwi-ltsp-functions.sh Code is available here: http://sourceforge.net/projects/kiwi-ltsp/develop Below is details of stuff added and things in pipeline. Kind regards Jigish ---------- Forwarded message ---------- From: Savin Alex Date: Wed, Sep 8, 2010 at 4:04 AM Subject: [Kiwi-ltsp-users] new features in kiwi-ltsp To: [email protected] Hello all, I'm work on some new features for kiwi-ltsp, and currently available: (http://software.opensuse.org/search?q=kiwi-desc-ltsp&baseproject=openSUSE:11.3) 1) Added support for multiple images management, you can use fully customized image profiles, just add your profile name into the LTSP_PROFILES variable, and If $KIWI_PROFILES_DIR/your_profile_name/(image,netboot,kiwi-ltsp) exist it will be used instead default kiwi configs, where: image - directory with kiwi configs for build image, netboot - directory with kiwi configs for build initrd image kiwi-Itsp - file for overwrite some configs, note: be VERY carefully!, if you use it LTSP_PROFILES="<Space separated list of image's profiles>" if you want to build custom profile, use one of this parameters "-l -l1 -l2 -ln -n -n1 -n2" and your profile name, example: kiwi-Itsp-setup -ln your_profile_name 2) you can assign ports to image, use NBD_PORT_FOR_your_profile_name="<space separated list of ports>" 3)you can assign mac-addresses to images, use: LTSP_IMG_MAC_MAP=1 LTSP_MAC_FOR_your_profile_name="<space separated list of mac-addresses>" (this for NBD and AOE services) 4) added special files for you custom configs(in /srv/fftpboot): - pxelinux.cfg/default.local - for customize boot menu - KIWI/config.local - for customize client config (also config.mac-addresslocal) - KIWI/boot.local - for custom init scripts 5) variable CONFIG BLACKLIST="<space separated list of files that should not be modified by kiwi- ltsp-setup>" ( in /etc/sysconfig/kiwi-ltsp ) 6) by default used Google DNS-server (local named server not needed more) 7) added introduction kiwi-Itsp-setup --intro - Show introduction Other changes: - Droped AOE_IMG_* and added instead it LTSP_IMG * and LTSP_MAC_FOR_* options in /etc/sysconfig/kiwi-Itsp (should work with old configs, but better - change you config) --list-profiles - Show list of available images profiles --boot-menu - Regenerate boot menu (pxelinux.cfg/default and pxelinux.cfg/ma:ca:dd:re:ss files), it also run if you use '-c' parameter -nbd - Sets up xinetd configs for NBD and assign MAC-addresses for images, it also run if you use '-c' parameter -ln - Build image and netboot boot image, it is alias for: -n and -l parameters - it automatically try load required kernel if it versions don't match (depend to kiwi) my TODO list: --clone --clone-default --import (also should import configs from susestudio) --export some cleanup in code -- Best regards, Александр mailto:[email protected] ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _____________________________________________________________________ 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
