diff options
-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 |