public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal