===== Kernel Config =====
title netboot centos6
root (hd0,0)
kernel /boot/vmlinuz6 root=/dev/ram0 ramdisk_size=65536 vga=0x317 ip= netmask= gateway= proxy=http://:@: ks=
initrd /boot/initrd6.img
===== Kickstart File =====
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# url --url http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/6/os/i386
# url --url http://ftp.tu-chemnitz.de/pub/linux/centos/6/os/i386
# url --url http://mirror.softaculous.com/centos/6/os/i386
url --url http://ftp.halifax.rwth-aachen.de/centos/6/os/i386
# Root password
rootpw --iscrypted $1$QXUHwESH$qirgxO/LvZKtMKPLFOQII.
# Network information
# network --bootproto=dhcp --device=eth0 --onboot=on
network --bootproto=static --device=eth0 --ip=19.40.136.163 --netmask=255.255.252.0 --onboot=on --gateway=19.40.139.254 --nameserver 19.26.228.72,19.26.228.171,19.26.228.172
# System authorization information
auth --useshadow --passalgo=sha512
# Use text mode install
text
# System keyboard
keyboard de-latin1-nodeadkeys
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# Installation logging level
logging --level=info
# System timezone
timezone Europe/Berlin
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
# clearpart --drives=hdb
# Disk partitioning information
part / --fstype="ext4" --grow --ondisk=sdb --size=3500 --onpart=sdb1 --asprimary
part swap --fstype="swap" --ondisk=sdb --recommended --onpart=sdb2 --grow --asprimary
%packages
@Desktop
%pre
#!/bin/sh
echo
echo
echo
"##############################################################################################"
echo
echo " Hallo"
echo
echo
"##############################################################################################"
echo
echo
fdisk -lcu /dev/sdb
echo
echo
sleep 10
%end