PVE::ReplicationTools::get_node_ip() - fix arguments for mtunnel

This commit is contained in:
Dietmar Maurer
2017-05-05 15:45:27 +02:00
parent fa5e729eac
commit e4d5d5f2aa

View 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 {