#Generated by Kickstart Configurator #platform=AMD64 or Intel EM64T #System language lang de_DE #Language modules to install langsupport en_GB en_US --default=de_DE #System keyboard keyboard de_nodeadkeys #System mouse mouse #System timezone timezone Europe/Berlin #Root password use "userdbpw -md5" to create hash rootpw --iscrypted $1$BAviusbF$KCWFHvCy1KjgikWnO6GRc/ #--------- #Initial user #user test --fullname "testuser" --password test #---------- #Reboot after installation reboot #Use text mode install text #Install OS instead of upgrade install #Use Web installation url --url http://de.archive.ubuntu.com/ubuntu/ #System bootloader configuration bootloader --location=mbr #Clear the Master Boot Record zerombr yes #Partition clearing information clearpart --all --initlabel #Disk partitioning information part /boot --fstype ext2 --size 200 part / --fstype ext3 --size 30000 part swap --size 1024 part /local/data --fstype ext3 --size 1 --grow #System authorization infomation auth --useshadow --enablemd5 #Network information network --bootproto=dhcp --device=eth0 #Firewall configuration firewall --disabled #X Window System configuration information xconfig --depth=32 --resolution=1280x1024 --defaultdesktop=GNOME --startxonboot #Run the Setup Agent on first boot firstboot --enable # preseed --owner ldap preseed --owner ldap-auth-config ldap-auth-config/bindpw password preseed --owner ldap-auth-config ldap-auth-config/rootbindpw password preseed --owner ldap-auth-config ldap-auth-config/binddn string cn=proxyuser,dc=example,dc=net preseed --owner ldap-auth-config ldap-auth-config/dbrootlogin boolean false preseed --owner ldap-auth-config ldap-auth-config/rootbinddn string cn=manager,dc=example,dc=net preseed --owner ldap-auth-config ldap-auth-config/pam_password select md5 preseed --owner ldap-auth-config ldap-auth-config/move-to-debconf boolean true preseed --owner ldap-auth-config ldap-auth-config/ldapns/ldap-server string ldap_server_name preseed --owner ldap-auth-config ldap-auth-config/ldapns/base-dn string dc=your,dc=domain,dc=tld preseed --owner ldap-auth-config ldap-auth-config/override boolean true preseed --owner ldap-auth-config ldap-auth-config/ldapns/ldap_version select 3 preseed --owner ldap-auth-config ldap-auth-config/dblogin boolean false #Package install information %packages ubuntu-desktop nfs-common %post --interpreter=/bin/bash # ####### ROOTMAIL echo "root: rootmail@physik.uni-dortmund.de" >> /etc/aliases # # ### SUDOERS eintragen echo "wacker ALL=(ALL) ALL" >> /etc/sudoers echo "domke ALL=(ALL) ALL" >> /etc/sudoers echo "feldhaus ALL=(ALL) ALL" >> /etc/sudoers # /usr/sbin/ntpdate 129.217.160.1 /usr/sbin/hwclock --systohc mkdir /e5home echo "nfs_server_name:/export/home /home nfs defaults 0 0" >> /etc/fstab apt-get install ldap-auth-client --assume-yes auth-client-config -a -p lac_ldap apt-get install cron-apt --assume-yes sed -e 's/ -d / /g' /etc/cron-apt/action.d/3-download > /etc/cron-apt/action.d/3-download2 && mv /etc/cron-apt/action.d/3-download2 /etc/cron-apt/action.d/3-download