Yum-config-manager, Does –save/–setopt Work?

Home » CentOS » Yum-config-manager, Does –save/–setopt Work?
CentOS No Comments

What is the point of –save in yum-config-manager. I cannot figure out how to use –setopt
$ yum-config-manager –save –setopt=”exclude=samba*” updates

Seems evident what that should do, but it doesn’t do anything.

The documentation for –save says “save the current options (useful with
–setopt)”

I would like to script/automate some YUM configuration.