[pve-devel] applied: [PATCH manager] use localhost instead of 127.0.0.1 to listen with spiceterm

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Mar 26 07:19:00 CET 2019


On 3/25/19 12:53 PM, Dominik Csapak wrote:
> that is the name we use to connect from spiceproxy and can be either
> ipv4 or ipv6
> 
> Signed-off-by: Dominik Csapak <d.csapak at 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];
>  
> 

applied, thanks!




More information about the pve-devel mailing list