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 based Proxmox VE,
and Bullseye has rsync 3.2.3 so no change required there.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
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";