Re: Custom Installation for multiple machines

From: Ding Li (achillis2002_at_gawab.com)
Date: 02/28/04

  • Next message: ifernandes: "ntpd failed to start"
    To: redhat-list@redhat.com
    Date: Fri, 27 Feb 2004 15:07:01 -0800
    
    

    Hi,

    Can I use the post section part in kickstart file to install mplayer? I
    want to
    automatically compile the package. Is it possible?

    Thanks

    Ding

    Stuart Sears wrote:

    >On Wednesday 25 Feb 2004 09:12, Chiu, PCM (Peter) wrote:
    >
    >
    >>Hi, Stuart,
    >>
    >>Have you also worked out how to clone a working system?
    >>
    >>I have tried kickstart before, but then found quite a few repetitive
    >>post installation tasks needed such as setting up user accounts, print
    >>queues,
    >>applying updates and other non RedHat software.
    >>
    >>
    >there is a %post section in your kickstart file that can do most of these
    >things. It runs as a bash script, chrooted into your new / filesystem, before
    >your sytem is rebooted.
    >eg
    >%post
    >useradd bob
    >echo "insecure" | passwd --stdin bob
    >
    >rpm -Fvh ftp://server/pub/updates/*.rpm
    >
    >rhnreg_ks --activationkey=....
    >
    >you could conceivably set up the print queues in a similar way
    >
    >
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: ifernandes: "ntpd failed to start"