[PVE-User] Ceph repository key change
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Sep 25 10:06:02 CEST 2015
I don't think we ship a tool for that, but you could try something similar to
this per cluster as root:
#!/bin/sh
for host in $(sed -ne '/"online": 1/{s/^.*"ip": "\([^"]*\)".*$/\1/p;}'
/etc/pve/.members)
do
ssh $host "the command you posted below"
done
---
Ideally at a point where all nodes are online ;-)
> On September 24, 2015 at 5:21 PM Fabrizio Cuseo <f.cuseo at panservice.it> wrote:
>
>
> Hello.
> Due to the change of ceph repository key, I need to change manually the key.
>
> Install curl if not installed:
> apt-get install curl
>
>
> apt-key del 17ED316D
> curl https://git.ceph.com/release.asc | apt-key add -
> apt-get update
>
> And now is working fine.
>
> How can avoid to do this on each proxmox node ?
>
> Regards, Fabrizio
>
>
> --
> ---
> Fabrizio Cuseo - mailto:f.cuseo at panservice.it
> Direzione Generale - Panservice InterNetWorking
> Servizi Professionali per Internet ed il Networking
> Panservice e' associata AIIP - RIPE Local Registry
> Phone: +39 0773 410020 - Fax: +39 0773 470219
> http://www.panservice.it mailto:info at panservice.it
> Numero verde nazionale: 800 901492
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
More information about the pve-user
mailing list