]> git.proxmox.com Git - qemu-server.git/commitdiff
localhost instead of 127.0.0.1 makes ipv6 life easier
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 26 May 2015 14:08:53 +0000 (16:08 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 27 May 2015 06:25:38 +0000 (08:25 +0200)
PVE/QemuServer.pm

index 19fcf4979084689d132d8746e3249a76bd01daf1..22ff875b6322796efa8f72c7b87df24dbb5e8353 100644 (file)
@@ -3024,7 +3024,7 @@ sub config_to_command {
        my $pfamily = PVE::Tools::get_host_address_family($nodename);
        $spice_port = PVE::Tools::next_spice_port($pfamily);
 
-       push @$devices, '-spice', "tls-port=${spice_port},addr=127.0.0.1,tls-ciphers=DES-CBC3-SHA,seamless-migration=on";
+       push @$devices, '-spice', "tls-port=${spice_port},addr=localhost,tls-ciphers=DES-CBC3-SHA,seamless-migration=on";
 
        push @$devices, '-device', "virtio-serial,id=spice$pciaddr";
        push @$devices, '-chardev', "spicevmc,id=vdagent,name=vdagent";