From 7588119f979f15532a7b511bc6e669105daf1ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Schl=C3=BCter?= Date: Fri, 26 Jan 2018 17:27:38 +0100 Subject: Made part-scripts available for testing. --- install-itzks-workstation-packages-only | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 install-itzks-workstation-packages-only (limited to 'install-itzks-workstation-packages-only') 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 + -- cgit v1.2.3