mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 15:25:36 +00:00
termproxy, vncproxy: use -escape 0 for qm terminal
There's no reason to have Ctrl+O terminate these sessions. Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
aa320bcd16
commit
ccb88f4578
@ -1430,7 +1430,7 @@ __PACKAGE__->register_method({
|
|||||||
if ($conf->{vga} && ($conf->{vga} =~ m/^serial\d+$/)) {
|
if ($conf->{vga} && ($conf->{vga} =~ m/^serial\d+$/)) {
|
||||||
|
|
||||||
|
|
||||||
my $termcmd = [ '/usr/sbin/qm', 'terminal', $vmid, '-iface', $conf->{vga} ];
|
my $termcmd = [ '/usr/sbin/qm', 'terminal', $vmid, '-iface', $conf->{vga}, '-escape', '0' ];
|
||||||
|
|
||||||
$cmd = ['/usr/bin/vncterm', '-rfbport', $port,
|
$cmd = ['/usr/bin/vncterm', '-rfbport', $port,
|
||||||
'-timeout', $timeout, '-authpath', $authpath,
|
'-timeout', $timeout, '-authpath', $authpath,
|
||||||
@ -1558,7 +1558,7 @@ __PACKAGE__->register_method({
|
|||||||
my $remcmd = $remip ?
|
my $remcmd = $remip ?
|
||||||
['/usr/bin/ssh', '-e', 'none', '-t', $remip, '--'] : [];
|
['/usr/bin/ssh', '-e', 'none', '-t', $remip, '--'] : [];
|
||||||
|
|
||||||
my $termcmd = [ '/usr/sbin/qm', 'terminal', $vmid];
|
my $termcmd = [ '/usr/sbin/qm', 'terminal', $vmid, '-escape', '0'];
|
||||||
push @$termcmd, '-iface', $serial if $serial;
|
push @$termcmd, '-iface', $serial if $serial;
|
||||||
|
|
||||||
my $realcmd = sub {
|
my $realcmd = sub {
|
||||||
|
Loading…
Reference in New Issue
Block a user