Making a Kick Start CD (Enterprise Linux ES 3)

James_Martin at ao.uscourts.gov James_Martin at ao.uscourts.gov
Wed Mar 3 22:07:24 UTC 2004


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20040303/3f010b19/attachment.htm>


More information about the Kickstart-list mailing list