that is the name we use to connect from spiceproxy and can be either
ipv4 or ipv6

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 PVE/API2Tools.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2Tools.pm b/PVE/API2Tools.pm
index 2d1bdf25..9f782c92 100644
--- a/PVE/API2Tools.pm
+++ b/PVE/API2Tools.pm
@@ -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];
 
-- 
2.11.0


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to