summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-23 10:54:33 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-23 10:54:33 +0100
commit2f0219a28f69b330ffb77f94603a6772ca4198b4 (patch)
tree5df77801b5ea6b5fd922baa974d9881d0149c864 /install-itzks-workstation
parente55e78c16ef64f859d456492188562b59f2eb67b (diff)
downloaditzks-install-script-2f0219a28f69b330ffb77f94603a6772ca4198b4.tar.gz
itzks-install-script-2f0219a28f69b330ffb77f94603a6772ca4198b4.tar.bz2
itzks-install-script-2f0219a28f69b330ffb77f94603a6772ca4198b4.zip
Push this script forward towards being used on Debian Edu 9.
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r--install-itzks-workstation21
1 files changed, 11 insertions, 10 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 29554d6..e64c107 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -1,13 +1,19 @@
#!/bin/bash
-# Script zur Installation einer ITZKS-Workstation (z.B. Notebooks am Katharineum)
+# script for installing a Debian Edu Workstation with ITZkS modifications
# Add user locadm as "local adminstrator" and add this user to sudoer-group
adduser --gecos "Local Administrator" locadm
adduser locadm sudo
# Enlarge root-fs
-lvextend -L 20G /dev/vg_system/root
-resize2fs /dev/vg_system/root
+
+if [ -e /dev/vg_system/usr ]; then
+ lvextend -L 18G /dev/vg_system/usr
+ resize2fs /dev/vg_system/usr
+else
+ lvextend -L 22G /dev/vg_system/root
+ resize2fs /dev/vg_system/root
+fi
# Retrieve LDAP CA certificate
invoke-rc.d fetch-ldap-cert start
@@ -23,15 +29,13 @@ apt-get install itzks-keyring && apt-get update && apt-get install itzks-systems
# Get update and install keyring packages
apt-get update
-apt-get install x2go-keyring deb-multimedia-keyring && 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
-# Make sure kdm is the selected display manager
-dpkg-reconfigure kdm
-
# Install libdvdcss2 if needed
while true; do
read -p "Verfügt der Rechner über ein DVD-Laufwerk bzw. sollen DVDs abgespielt werden können? [j/n] " yn
@@ -42,9 +46,6 @@ while true; do
esac
done
-# FIXME: Probably not needed - should be fixed in debian-edu config
-#apt-get install libnss-mdns
-
####################
# FIXME: this should be scripted; manage with puppet instead