summaryrefslogtreecommitdiff
path: root/install-itzks-workstation-packages-only
diff options
context:
space:
mode:
Diffstat (limited to 'install-itzks-workstation-packages-only')
-rw-r--r--install-itzks-workstation-packages-only45
1 files changed, 45 insertions, 0 deletions
diff --git a/install-itzks-workstation-packages-only b/install-itzks-workstation-packages-only
new file mode 100644
index 0000000..b6cce9b
--- /dev/null
+++ b/install-itzks-workstation-packages-only
@@ -0,0 +1,45 @@
+#!/bin/bash
+# script for installing a Debian Edu Workstation with ITZkS modifications
+
+set -e
+
+# Add itzks.list and its contents if file not already there
+if [ ! -e "/etc/apt/sources.list.d/itzks.list" ]; then
+ touch /etc/apt/sources.list.d/itzks.list
+ echo "deb http://packages.it-zukunft-schule.de/debian stretch main contrib non-free" >> /etc/apt/sources.list.d/itzks.list
+ echo "deb http://packages.it-zukunft-schule.de/debian stretch-backports main contrib non-free" >> /etc/apt/sources.list.d/itzks.list
+ echo "deb http://packages.it-zukunft-schule.de/debian sid main contrib non-free" >> /etc/apt/sources.list.d/itzks.list
+fi
+
+# Export proxy-settings for first install
+export https_proxy=http://webcache:3128
+export http_proxy=http://webcache:3128
+export ftp_proxy=http://webcache:3128
+
+# Get update and add itzks-keyring and itzks-systems-common package
+apt-get update
+apt-get install itzks-keyring && apt-get update && apt-get install itzks-systems-common
+
+# Get update and install keyring packages
+apt-get update
+apt-get install x2go-keyring deb-multimedia-keyring arctica-keyring && apt-get update
+
+# Install the itzks-systems-workstation package
+apt-get install --yes --force-yes ocsinventory-agent
+itzks-systems.do_preseed
+apt-get install itzks-systems-workstation
+
+# Install wireless-tools for configuration of WiFi
+apt-get install wireless-tools
+
+# Alternate install libdvdcss2 if needed
+read -p "Verfügt der Rechner über ein DVD-Laufwerk bzw. sollen DVDs abgespielt werden könnne? (j/n)? " answer
+case ${answer:0:1} in
+ y|Y|j|J )
+ apt install libdvdcss2
+ ;;
+ *)
+ :
+ ;;
+esac
+