mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-01-11 05:18:01 +03:00
migrate: don't include the hostname in rsync's rsh command
This commit is contained in:
parent
4b4c580d02
commit
47cea19432
@ -543,7 +543,8 @@ sub storage_migrate {
|
||||
my $errstr = "unable to migrate '$volid' to '${target_volid}' on host '$target_sshinfo->{name}'";
|
||||
|
||||
my $ssh = PVE::Cluster::ssh_info_to_command($target_sshinfo);
|
||||
local $ENV{RSYNC_RSH} = PVE::Tools::cmd2string($ssh);
|
||||
my $ssh_base = PVE::Cluster::ssh_info_to_command_base($target_sshinfo);
|
||||
local $ENV{RSYNC_RSH} = PVE::Tools::cmd2string($ssh_base);
|
||||
|
||||
my $no_incremental = sub {
|
||||
my ($type) = @_;
|
||||
|
Loading…
Reference in New Issue
Block a user