[pve-devel] [PATCH storage] storage_migrate: another ipv6 fix for an rsync command

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Jan 28 09:33:48 CET 2016


---
 PVE/Storage.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 5fcb502..140f8ae 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -476,7 +476,7 @@ sub storage_migrate {
 		}
 
 		my $cmd = ['/usr/bin/rsync', '--progress', '--sparse', '--whole-file',
-			   $src, "root\@${target_host}:$dst"];
+			   $src, "[root\@${target_host}]:$dst"];
 
 		my $percent = -1;
 
-- 
2.1.4





More information about the pve-devel mailing list