[CentOS] How do I confirm importing repo key without user intervention?
Yuri Kanivetsky
yuri.kanivetsky at gmail.com
Wed Mar 15 02:52:37 UTC 2017
Well, the idea was to make yum not ask about confirmation when doing
yum install, like:
$ rpm --import https://...
$ yum accept-key ...
$ yum install passenger
Because, when I do `yum -y install`, I don't know in advance which
questions I'm answering with yes. And for the second command I was
given:
$ yum makecache -y --disablerepo=* --enablerepo=passenger
Which doesn't convey the intention. Considering this, I'm now leaning
to using `yum -y install`.
Regards,
Yuri
More information about the CentOS
mailing list