[CentOS-virt] Suggestions to improve this minimal kickstart config for CentOS 6?

Fri Jul 22 20:22:32 UTC 2011
Kartik Subbarao <subbarao at computer.org>

On 07/22/2011 02:16 PM, Manuel Wolfshant wrote:
>> %post
>> rpm -e $(rpm -qa | grep -i \\-firmware | grep -v kernel-firmware)
> And by the way, the above can rewritten in a shorter form:
>            rpm -e $( rpm -qa \*firmware | grep -v kernel)
> rpm -qa will enumerate all packages but in fact you want only the
> firmware ones. So you run an useless grep to filter them when in fact
> rpm can do that for you in the first place.

Cool, thanks for reminding me about that feature of rpm -qa.