RechercheTech / mss

Main MSS feature tracking repo. Also the place for default MSS issues fallinng under no other repo.
1 stars 3 forks source link

Support multiple images e.g. cybernetyx along with other client images #78

Closed intelliant01 closed 5 years ago

intelliant01 commented 5 years ago

Some legacy software are not yet available for 18.04 but the same are critical for usage in some schools. To address this scenario, we need to give an option to boot into old 16.04 image.

cyberorg commented 5 years ago
  1. Create /etc/nbd-server/conf.d/ltsp-cyb.conf with this -
[/opt/ltsp/cyb]                                                                   
exportname = /opt/ltsp/images/cyb.img
readonly = true                                                                       
authfile = /etc/ltsp/nbd-server.allow
  1. wget http://serverip/mss/.ltsp-cybernetyx -O /opt/ltsp/images/cyb.img

  2. Add to /var/lib/tftpboot/ltsp/amd64/pxelinux.cfg/default

    label Cybernetyx-EyeRIS-IX
    kernel linux-cyb
    append ro initrd=initrd-cyb init=/sbin/init-ltsp forcepae root=/dev/nbd0 nbdroot=/opt/ltsp/cyb quiet splash vt.handoff=7 ltsp.REMOTE_APPS=true ltsp.LDM_LANGUAGE=en_IN.UTF-8
    ipappend 3
  3. mkdir tmount
    mount /opt/ltsp/images/cyb.img tmount
    cd tmount/boot/
    cp initrd*-generic /var/lib/tftpboot/ltsp/amd64/initrd-cyb
    cp vmlinuz*-generic /var/lib/tftpboot/ltsp/amd64/linux-cyb                      
    chmod +r /var/lib/tftpboot/ltsp/amd64/*
    cd -                                                                                 
    umount tmount                                                                      
    rmdir tmount             
  4. /etc/init.d/nbd-server restart

intelliant01 commented 5 years ago

@geets04 Use mssupdate <serverip> smart1604 for en + hi or mssupdate <serverip> smart1604gu for en + hi + gu with gu as default.

intelliant01 commented 5 years ago

For all valid update paths refer postmsssetup.