create new tag
, view all tags

Network instalation

Network card with PXE

DHCP server

subnet netmask {

        option broadcast-address;
        option routers;
        option subnet-mask;

        group {

                filename "ebi/dev/pxelinux.0";
                host babysnakes {
                        hardware ethernet 00:50:56:a5:2d:0a;
                        option option-132 "babysnakes";



TFTP server

Use /install/bd/hosts/hst-tst-1 as example.

label redhat-5-U3-i386-as
  menu label [^3] 5-U3-i386-as
  kernel ../RedHat/5-U3-i386-as/vmlinuz
  append nofb ip=dhcp ksdevice=eth0 initrd=../RedHat/5-U3-i386-as/initrd.img ks=

HTTP server

  • Kickstart file
  • RedHat source

Kickstart file

# Kickstart file automatically generated by anaconda.
# https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Installation_Guide-en-US/s1-kickstart2-options.html

url --url

key --skip

lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard sg
network --device=eth0 --bootproto=static --ip= --netmask= --gateway= --nameserver=, --hostname=babysnakes.ethz.ch --noipv6
# network --device=eth0 --bootproto=dhcp
rootpw --iscrypted $1$nILzQnUB$0Wpu3PqD8BJ/FuZzoIMmy.
firewall --disabled
authconfig --enableshadow --enablemd5
selinux --disabled
timezone Europe/Zurich

bootloader --location=mbr --driveorder=sda,sdb --append="notsc"

# 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 --all --drives=sda,sdb

part /boot --fstype ext3 --size=100 --ondisk=sda

part pv.3 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.3
logvol / --fstype ext3 --name=LogVol0000 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol0001 --vgname=VolGroup00 --size=1024 --grow --maxsize=4096

part pv.4 --size=0 --grow --ondisk=sdb
volgroup VolGroup01 --pesize=32768 pv.4
logvol /local --fstype ext3 --name=LogVol0100 --vgname=VolGroup01 --size=1024 --grow



  [ -d /mnt/bd ] || mkdir /mnt/bd
  mount -o nolock /mnt/bd

  [ -x /mnt/bd/hosts/babysnakes/redhat.5.pre ] && /mnt/bd/hosts/babysnakes/redhat.5.pre babysnakes

  umount /mnt/bd
) > /tmp/ks-pre.log 2>&1

%post --nochroot
  [ -f /tmp/ks-pre.log ] && cp /tmp/ks-pre.log /mnt/sysimage/root/.
  [ -f /tmp/ks.cfg ] && cp /tmp/ks.cfg /mnt/sysimage/root/.
  [ -d /tmp/oldconf ] && cp -pr /tmp/oldconf/* /mnt/sysimage/
) > /mnt/sysimage/root/ks-post.log 2>&1

  echo Running post installation script

  [ -d /mnt/bd ] || mkdir /mnt/bd
  mount -o nolock /mnt/bd

  [ -x /mnt/bd/hosts/babysnakes/redhat.5.post ] && /mnt/bd/hosts/babysnakes/redhat.5.post babysnakes

  umount /mnt/bd
) >> /root/ks-post.log 2>&1

NFS server

  • Installation scripts
  • Files

RedHat satellite

  • RedHat updates

-- PeterBircher - 2010-06-09

Topic revision: r3 - 2010-06-24 - bgiger
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback