IPTables and kickstart %post

Matt Rose mrose at n-able.com
Thu Aug 4 14:17:41 UTC 2011



On Thu, 4 Aug 2011, Stuart Browne wrote:

> Hi,
>
> I've got a number of (in-house) RPM packages that I want installed 
> during a kickstart build (no problem's there), but they add iptables 
> rules in order to allow specific services in.
>
> During the kickstart under RHEL5, the iptables modules are not available 
> for usage so the usual rule manipulation commands aren't available. 
> Modifying the '/etc/sysconfig/iptables' file doesn't work well either 
> given that these packages are also installed on running systems.
>

It sounds like you need to add the requirement for the iptables modules and 
/etc/sysconfig/iptables to the in-house RPMs you've created.  This way, 
the RPM transaction will take the requirement into account.

Matt

> Stuart J. Browne
> Senior Unix Administrator, Network Administrator
> AusRegistry Pty Ltd
> Level 8, 10 Queens Road
> Melbourne. Victoria. Australia. 3004.
> Ph:  +61 3 9866 3710
> Fax: +61 3 9866 1970
> Email: stuart.browne at ausregistry.com.au
> Web: www.ausregistry.com.au
>
> The information contained in this communication is intended for the named recipients only. It is subject to copyright and may contain legally privileged and confidential information and if you are not an intended recipient you must not use, copy, distribute or take any action in reliance on it. If you have received this communication in error, please delete all copies from your system and notify us immediately.
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>




More information about the Kickstart-list mailing list