Skip to content

Instantly share code, notes, and snippets.

@d78ui98
Last active May 26, 2018 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d78ui98/ca39e32aa32b1ddad5c9b4554f51aa27 to your computer and use it in GitHub Desktop.
Save d78ui98/ca39e32aa32b1ddad5c9b4554f51aa27 to your computer and use it in GitHub Desktop.
#!/bin/bash
#Updating packages
apt-get --yes update
apt-get --yes upgrade
#Installing dependencies
apt-get --yes --install-recommends install dnsmasq ldm-ubuntu-theme
apt-get --yes --install-recommends install ltsp-server
export DEBIAN_FRONTEND=noninteractive
apt-get -yq --yes --install-recommends install ltsp-client
apt-get --yes install epoptes epoptes-client
#Adding vagrant user to group epoptes
gpasswd -a ${SUDO_USER:-$USER} epoptes
#Updating kernel
echo 'IPAPPEND=3' >> /etc/ltsp/update-kernels.conf
/usr/share/ltsp/update-kernels
#configure dnsmasq
ltsp-config dnsmasq
#Creating lts.conf
ltsp-config lts.conf
#Installing additional software
apt-get --yes install edubuntu-desktop
apt-get --yes install ubuntu-edu-preschool ubuntu-edu-primary ubuntu-edu-secondary ubuntu-edu-tertiary
#Installing ltsp-manager
add-apt-repository ppa:ts.sch.gr
apt-get --yes update
apt-get --yes install ltsp-manager
#Creating client image
ltsp-update-image --cleanup /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment