]> git.proxmox.com Git - pve-manager.git/commitdiff
use localhost instead of 127.0.0.1 to listen with spiceterm
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 25 Mar 2019 11:53:43 +0000 (12:53 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Mar 2019 06:18:42 +0000 (07:18 +0100)
that is the name we use to connect from spiceproxy and can be either
ipv4 or ipv6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2Tools.pm

index 2d1bdf255272415037eb6f7a3ff1d82b2f0a09c3..9f782c92f6442eb4b25938496b1598c17e43aad7 100644 (file)
@@ -166,7 +166,7 @@ sub run_spiceterm {
 
     my $timeout = 40; 
 
-    my $cmd = ['/usr/bin/spiceterm', '--port', $port, '--addr', '127.0.0.1',
+    my $cmd = ['/usr/bin/spiceterm', '--port', $port, '--addr', 'localhost',
               '--timeout', $timeout, '--authpath', $authpath, 
               '--permissions', $permissions];