11.22.2009

installing rhel 5.4 from ks

Al momento de iniciar la instalacion desatendida de rhel en el fierro debemos botear con
linux ks=http://10.2.2.49/ks/ks.cfg
Notar que en mi servidor (de ip 10.2.2.49) "instalador ks" tendre :
[root@localhost ~]# cat /var/www/html/ks/ks.cfg
# Kickstart file automatically generated by anaconda.
install
url --url http://10.2.2.49/install
key --skip
lang en_US.UTF-8
keyboard es
xconfig --startxonboot
network --device eth0 --bootproto=static --ip=10.2.0.221 --netmask=255.255.252.0 --gateway=10.2.0.1 --nameserver=10.2.0.15
rootpw --iscrypted $1$sjy/QTEL$YcjI3vymd2ICHac5Tip3y.
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --disable
timezone --utc America/Lima
bootloader --location=mbr --driveorder=hda --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux
part /boot --fstype ext3 --size=100
part pv.3 --size=9900
part swap --size=1000
volgroup VolGroup00 --pesize=32768 pv.3
logvol /usr --fstype ext3 --name=lvusr --vgname=VolGroup00 --size=3904
logvol / --fstype ext3 --name=lvroot --vgname=VolGroup00 --size=5984
%packages
@core
@printing
@base-x
sgpio
xorg-x11-utils

Mas parametros de la anatomia de este ks file puedes ver en la liga http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-kickstart2-options.html  (notar que es de la version RHEL 4 pero sirve)Particularmente me gusta instalar sin interactuar durante la instalacion, es chido como dirian mis amigos mexicanos .

No hay comentarios.:

Publicar un comentario