ubuntuusers.de

Titel:
ks.cfg
Datum:
15. August 2008 11:24
Aktionen:
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#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