mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 21:14:21 +00:00
fix migration port (wrong quote)
This commit is contained in:
parent
760fb3c842
commit
033a0b366d
@ -76,10 +76,9 @@ sub finish_command_pipe {
|
|||||||
sub fork_tunnel {
|
sub fork_tunnel {
|
||||||
my ($self, $nodeip, $lport, $rport) = @_;
|
my ($self, $nodeip, $lport, $rport) = @_;
|
||||||
|
|
||||||
my @localtunnelinfo = (defined $lport) ? qw(-L $lport:localhost:$rport) : ();
|
my @localtunnelinfo = $lport ? ('-L' , "$lport:localhost:$rport" ) : ();
|
||||||
|
|
||||||
my $cmd = [@{$self->{rem_ssh}}, @localtunnelinfo,
|
my $cmd = [@{$self->{rem_ssh}}, @localtunnelinfo, 'qm', 'mtunnel' ];
|
||||||
'qm', 'mtunnel' ];
|
|
||||||
|
|
||||||
my $tunnel = $self->fork_command_pipe($cmd);
|
my $tunnel = $self->fork_command_pipe($cmd);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user