The RHEL distro comes with a boot.iso that is a minimal environment that will get you into kickstart. If this is insufficient you can unpack the ISO and put whatever you want into it, rebuild the ISO and there you go.

I'm assuming of course that the reason you want to do something like this is to include extra software so that during %pre install you can do things like partition your disks or query a DB or something? Though when we need to do this, we simply put the tools we need on an NFS filesystem and mount it from %pre and fetch the tools from there. That way there's no need to rebuild ISOs and stuff.

Remember that during %post install you've already got a fully installed system at /mnt/local, so just make sure whatever packages you need get installed during %packages phase.

Paul Krizak                         7171 Southwest Pkwy MS B200.3A
MTS Systems Engineer                Austin, TX  78735
Advanced Micro Devices              Desk:  (512) 602-8775
Linux/Unix Systems Engineering      Cell:  (512) 791-0686
Global IT Infrastructure            Fax:   (512) 602-0468

On 08/30/2011 04:33 PM, Citros Airv wrote:
Yes, thanks. I'm planing to use a kickstart file but my question is
prior to that. The goal is to minimize the boot cd so that is not larger
than 700MB. So given a set of RPMs I want to create the boot disk itself
based on that...After that I'll use kickstart to drive the installation
as suggested.

--Citros

On Tue, Aug 30, 2011 at 4:17 PM, Marti, Robert <[email protected]
<mailto:[email protected]>> wrote:

    Look into kickstarts. That's exactly what they're for.

    On Aug 30, 2011, at 18:07, "Citros Airv" <[email protected]
    <mailto:[email protected]>> wrote:

     > Hi List,
     >
     > I'm trying to put together a process to automate the creation of
    an installation CD for an appliance we manage. The goal is that
    given a set of RPMs needed on the target appliance we put together a
    custom CD containing only those RPMs. I was thinking of using the
    livecd-tools package but the resulting CD can't be used to install
    on a target system according to man page.
     >
     > Any pointers appreciated.
     >
     >
     > --Citros
     > _______________________________________________
     > rhelv6-list mailing list
     > [email protected] <mailto:[email protected]>
     > https://www.redhat.com/mailman/listinfo/rhelv6-list

    _______________________________________________
    rhelv6-list mailing list
    [email protected] <mailto:[email protected]>
    https://www.redhat.com/mailman/listinfo/rhelv6-list



_______________________________________________
rhelv6-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv6-list

Reply via email to