From d7b1b24b6f5d5287caccbcfbebfa221e3968c5f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 4 Aug 2017 14:53:58 +0200 Subject: [PATCH] migrate: switch back to qm mtunnel MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit to allow adding guest specific commands to the tunnel Signed-off-by: Fabian Grünbichler --- PVE/QemuMigrate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm index f995584..0376a81 100644 --- a/PVE/QemuMigrate.pm +++ b/PVE/QemuMigrate.pm @@ -96,7 +96,7 @@ sub fork_tunnel { my @localtunnelinfo = defined($tunnel_addr) ? ('-L' , $tunnel_addr ) : (); - my $cmd = [@{$self->{rem_ssh}}, '-o ExitOnForwardFailure=yes', @localtunnelinfo, '/usr/bin/pvecm', 'mtunnel' ]; + my $cmd = [@{$self->{rem_ssh}}, '-o ExitOnForwardFailure=yes', @localtunnelinfo, '/usr/sbin/qm', 'mtunnel' ]; my $tunnel = $self->fork_command_pipe($cmd); -- 2.39.2