* [pve-devel] [PATCH cluster] pvecm: fix cluster join over ssh with newer rsync
@ 2023-06-02 13:20 Dominik Csapak
2023-06-04 16:57 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2023-06-02 13:20 UTC (permalink / raw)
To: pve-devel
since rsync 3.2.4, the syntax to give multiple files in one parameter
does not work anymore, so instead add both files explicitly
this fixes the cluster join over ssh on bookworm
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
src/PVE/CLI/pvecm.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/CLI/pvecm.pm b/src/PVE/CLI/pvecm.pm
index b0b5931..d816a0c 100755
--- a/src/PVE/CLI/pvecm.pm
+++ b/src/PVE/CLI/pvecm.pm
@@ -438,7 +438,7 @@ __PACKAGE__->register_method ({
eval {
print "copy corosync auth key\n";
$cmd = ['rsync', '--rsh=ssh -l root -o BatchMode=yes', '-lpgoq',
- "[$host]:$authfile $clusterconf", $tmpdir];
+ "[$host]:$authfile", "[$host]:$clusterconf", $tmpdir];
system(@$cmd) == 0 || die "can't rsync data from host '$host'\n";
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH cluster] pvecm: fix cluster join over ssh with newer rsync
2023-06-02 13:20 [pve-devel] [PATCH cluster] pvecm: fix cluster join over ssh with newer rsync Dominik Csapak
@ 2023-06-04 16:57 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-06-04 16:57 UTC (permalink / raw)
To: Proxmox VE development discussion, Dominik Csapak
Am 02/06/2023 um 15:20 schrieb Dominik Csapak:
> since rsync 3.2.4, the syntax to give multiple files in one parameter
> does not work anymore, so instead add both files explicitly
>
> this fixes the cluster join over ssh on bookworm
>
> Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
> ---
> src/PVE/CLI/pvecm.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-04 16:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-02 13:20 [pve-devel] [PATCH cluster] pvecm: fix cluster join over ssh with newer rsync Dominik Csapak
2023-06-04 16:57 ` [pve-devel] applied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal