Re: How do I confirm importing repo key without user intervention?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 12.03.2017 um 16:42 schrieb Yuri Kanivetsky <yuri.kanivetsky@xxxxxxxxx>:
> 
> Sorry for asking it again. I just thought I asked the question the
> wrong way. Too much unnecessary details. And therefore, got no
> replies.
> 
> I'm configuring a server from, say, a script (automatically). I need
> it to be done without user saying, "Yes, it's okay to import the key."
> 
> I was told to run the following command:
> 
>    yum makecache -y --disablerepo=* --enablerepo=passenger
> 
> Can you confirm if this is okay? Any better ways? Thanks in advance.


what about importing the key beforehand

rpm --import keyfile

--
LF


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux