Build client root

From Mille-Xterm

Jump to: navigation, search

How to build client root for ltsp-cluster

  • Build normal client root :
ltsp-build-client
  • Install needed packages :
chroot /opt/ltsp/i386
cat << EOF > /etc/apt/sources.list
deb http://gulus.usherbrooke.ca/ubuntu hardy main restricted universe
deb http://gulus.usherbrooke.ca/ubuntu hardy-security main restricted universe
deb http://gulus.usherbrooke.ca/ubuntu hardy-updates main restricted universe
deb http://apt.revolutionlinux.com/ubuntu.rl hardy mxterm
EOF
apt-get update
export LTSP_HANDLE_DAEMONS=false
apt-get install ltsp-cluster-client
  • Configure the load-balancer server and ltsp-directory server URL :
echo "https://<server name>/mille-configurator/Terminal" > /etc/config-server
echo "http://<server name>:8008/" > /etc/loadbalancer-url
  • Then, you can run ltsp-update-image

Enabling NFS root

  • Modify ltsp-client-setup and initramfs :
sed -i -e "s/\"unionfs\"/\"bind_mounts\"/g" /etc/default/ltsp-client-setup
echo "BOOT=nfs" > /etc/initramfs-tools/conf.d/ltsp
update-initramfs -u
Personal tools