#platform=x86
#System language
lang de_DE
#Language modules to install
langsupport de_DE
#System keyboard
keyboard de
#System mouse
mouse
#System timezone
timezone Europe/Berlin
#Root password
rootpw --iscrypted $1$Mhw6K3DW$p/7c9e7SVIPdZ.8RtWJie0
#Initial user
user --disabled
#Reboot after installation
reboot
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#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 ext3 --size 150 --asprimary
part swap --size 4096 --asprimary
part / --fstype ext3 --size 1 --grow --asprimary
#System authorization infomation
auth --useshadow --enablemd5
#Network information
#network --bootproto=static --device=eth0 --ip=192.168.254.254 --netmask=255.255.255.0
network --disabled
#Firewall configuration
firewall --disabled
#Do not configure the X Window System
skipx
%packages
mysql-server
slapd
ldap-utils
ntp
openssh-server
%post
mkdir /INSTALL
mkdir /INSTALL/save
cp -a /cdrom/INSTALL/* /INSTALL
mv -f /etc/apt/sources.list /INSTALL/save
cp /INSTALL/sources.list /etc/apt/sources.list
tar -xzvf repo.tar.gz
apt-get update
apt-get -y install joe mc dialog debian-helper-scripts rungetty --force-yes
apt-get -y install pcscd opensc openct libctapi-cyberjack2 ifd-cyberjack2 --force-yes
apt-get -y install sun-java5-bin sun-java5-jdk sun-java5-jre --force-yes
apt-get -y install pcsc-tools --force-yes
apt-get -y remove apparmor ufw --force-yes