logo       

Re: Making a Kick Start CD (Enterprise Linux ES 3): msg#00024

linux.redhat.kickstart.general

Subject: Re: Making a Kick Start CD (Enterprise Linux ES 3)


Hi.. The past couple of days I wrote a perl script that does all of this..  Basically you build a machine how you want -- with the right packages and what not..  Then from another host, you run my script--it then ssh's to your pre-built machine, gets the names of all the rpms installed on it, copies those rpms from a directory, copies some kickstart files, isolinux files, and RedHat/base directory, then run's mkisofs and gives you your cd image.

My mkisofs looks like this :

mkisofs  -r  -J  -T  -v  -V "RHEL/3 i386" -A "RHEL/3 i386" -c isolinux/boot.cat -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -o isos/RHEL3AS-i386-disc1.iso temp_distro/



under temp_distro i have the following directories:

custom  isolinux  ksfiles  RedHat


Custom is for specifialy files/packages/scripts/etc.  ksfiles are for kickstart files, isolinux is a modified copy of what is in isolinux on the RH iso, and RedHat contains base/ and RPMS/.


James


James S. Martin, RHCE
Contractor
Administrative Office of the United States Courts
Washington, DC
(202) 502-2394


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise