diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-23 10:54:33 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-23 10:54:33 +0100 |
commit | 2f0219a28f69b330ffb77f94603a6772ca4198b4 (patch) | |
tree | 5df77801b5ea6b5fd922baa974d9881d0149c864 | |
parent | e55e78c16ef64f859d456492188562b59f2eb67b (diff) | |
download | itzks-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.
-rw-r--r-- | install-itzks-workstation | 21 |
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 |