[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

Sat May 7 14:02:05 UTC 2016
Peter <peter at pajamian.dhs.org>

On 08/05/16 01:53, Nicolas Kovacs wrote:
> Le 07/05/2016 14:57, Peter a écrit :
>> Rather than remove them and add them back use yum shell to just remove
>> the packages not in base or core:
>>
>> yum shell
>> remove *
>> install kernel @core @base
>> run
>> quit
> 
> Sounds interesting. Does this work in a script?

Yes, but you need to put the yum shell commands in a separate file.  See
yum-shell(8) for details.


Peter