Re: Custom Installation for multiple machines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux