A sto ce ti kickstart file…ako vec imas samo jedan server, installiraj “rucno”, ako imas 100 server-a tada napravi kickstart file …
kao npr : ( trebas centos/rh pakete postaviti na neki http/ftp server ( nfs share … ) …ovaj ispod brise mbr…
#Generated by Kickstart Configurator
#System language
lang en_US
#Language modules to install
langsupport --default=en_US
#System keyboard
keyboard uk
#System mouse
mouse generic3ps/2
#Sytem timezone
timezone Europe/Prague
#Root password
#rootpw test
rootpw --iscrypted XaFsVK.4ghtLI
#Reboot after installation
reboot
#Install Red Hat Linux instead of upgrade
#install
#Use CDROM installation media
#cdrom
install
network --bootproto=static --ip=192.168.1.220 --netmask=255.255.255.0 --gateway=192.168.1.21 --nameserver=192.168.1.21
url --url http://192.168.1.21/rh
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
If bellow is uncommneted then we have situation that all partitions will be
removed…by default they will not be removed…
clearpart --all --initlabel
#Disk partitioning information
#part /boot --fstype ext3 --size 150 --asprimary
part / --fstype ext3 --size 800 --asprimary
part swap --size 500 --asprimary
part /zzz --fstype ext3 --size 800 --asprimary
#part / --fstype ext3 --size 1000
part /usr --fstype ext3 --size 2500
part /home --fstype ext3 --size 500
part /var --fstype ext3 --size 3000
part /tmp --fstype ext3 --size 500
Above will create three primary partitions ( 1,2,3 ) and three logical partitions ( 6,7,8 ) …while partition 4 will be logical
#System authorization infomation
auth --useshadow --enablemd5
#Network information
#–device=eth0 --hostname=rhel3.mydomain.com
#Firewall configuration
firewall --disabled
#XWindows configuration information
xconfig --depth=32 --resolution=1024x768 --defaultdesktop=GNOME --startxonboot
#Run the Setup Agent on first boot
firstboot --enable
#Package install information
%packages --resolvedeps
@ X Window System
@ GNOME Desktop Environment
@ Editors
@ Graphical Internet
@ Text-based Internet
@ Server Configuration Tools
@ FTP Server
@ Development Tools
@ Administration Tools
@ System Tools
@smb-server
setarch
sysstat
openmotif21
ORBit
libpng10
gnome-libs
compat-glibc
compat-gcc
compat-gcc-c++
compat-libstdc++
compat-libstdc+±devel
samba-client
samba-common
%post
bla bla
bla bla
poz