summaryrefslogtreecommitdiff
path: root/install-itzks-workstation-packages-only
diff options
context:
space:
mode:
authorBenjamin Schlüter <bschlueter@posteo.de>2018-01-26 17:27:38 +0100
committerBenjamin Schlüter <bschlueter@posteo.de>2018-01-26 17:27:38 +0100
commit7588119f979f15532a7b511bc6e669105daf1ca0 (patch)
tree061fe462fe99da7cc1b256407e1a2a0b3674a948 /install-itzks-workstation-packages-only
parent1933c2af54561ce1169afe6b47e4617fa19ed3ac (diff)
downloaditzks-install-script-7588119f979f15532a7b511bc6e669105daf1ca0.tar.gz
itzks-install-script-7588119f979f15532a7b511bc6e669105daf1ca0.tar.bz2
itzks-install-script-7588119f979f15532a7b511bc6e669105daf1ca0.zip
Made part-scripts available for testing.
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
+