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 <[email protected]> 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:[email protected]
> 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:[email protected]
> Numero verde nazionale: 800 901492
> _______________________________________________
> pve-user mailing list
> [email protected]
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user