use localhost instead of 127.0.0.1 to listen with spiceterm

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>
This commit is contained in:
Dominik Csapak 2019-03-25 12:53:43 +01:00 committed by Thomas Lamprecht
parent f4a9b51332
commit b3f1c7e9a5

View 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];