mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-13 22:29:14 +00:00
migrate: use 'mtunnel' from pvecm
qm mtunnel was deemed as deprecated but still in use here. Switch over to pvecm's mtunnel to allow removing the qm variant in PVE 5.1 Also use an absolute path so we do not depended on the targets environment variables Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c7c2d0a7a6
commit
da18cc9300
@ -96,7 +96,7 @@ sub fork_tunnel {
|
||||
|
||||
my @localtunnelinfo = defined($tunnel_addr) ? ('-L' , $tunnel_addr ) : ();
|
||||
|
||||
my $cmd = [@{$self->{rem_ssh}}, '-o ExitOnForwardFailure=yes', @localtunnelinfo, 'qm', 'mtunnel' ];
|
||||
my $cmd = [@{$self->{rem_ssh}}, '-o ExitOnForwardFailure=yes', @localtunnelinfo, '/usr/bin/pvecm', 'mtunnel' ];
|
||||
|
||||
my $tunnel = $self->fork_command_pipe($cmd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user