[CentOS] stupid question about kickstart file

Fri Aug 19 09:34:42 UTC 2011
John Doe <jdmls at yahoo.com>

From: Eero Volotinen <eero.volotinen at iki.fi>

> Is is possible to use kickstart file to install rhel from dvd drive?
> Mainly idea is to clone one anaconda.ks file to about twenty
> machines.?

Something like (that was for 5.x):
  mount $MYISO /mnt/cdrom -t iso9660 -o loop
  cp -a /mnt/cdrom /tmp/cdrom
  cp ks.cfg /tmp/cdrom/
  vim isolinux/isolinux.cfg
    default linux ks=cdrom:/ks.cfg
  # Not sure if still need or why: chmod u+w isolinux/*
  cd /tmp
  mkisofs -o full.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T cdrom

JD