]> git.proxmox.com Git - pve-storage.git/commitdiff
PVE::ReplicationTools::get_node_ip() - fix arguments for mtunnel
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 5 May 2017 13:45:27 +0000 (15:45 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 5 May 2017 13:45:27 +0000 (15:45 +0200)
PVE/ReplicationTools.pm

index 4afa6c311beec06896bf06993dc9db7cb0d1fd21..d74138c4cdabfe3beb9218ecf5d91eeb552d5cd8 100644 (file)
@@ -67,7 +67,7 @@ sub get_node_ip {
     if (my $network = $dc_conf->{storage_replication_network}) {
 
        my $cmd = ['ssh', '-o', 'Batchmode=yes', "root\@$remoteip", '--'
-                  ,'pvecm', 'mtunnel', '--get_migration_ip e',
+                  ,'pvecm', 'mtunnel', '--get_migration_ip',
                   '--migration_network', $network];
 
        PVE::Tools::run_command($cmd, outfunc => sub {