[pve-devel] [PATCH] localhost instead of 127.0.0.1 makes ipv6 life easier

Wolfgang Bumiller w.bumiller at proxmox.com
Tue May 26 16:08:53 CEST 2015


---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 19fcf49..22ff875 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -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";
-- 
2.1.4




More information about the pve-devel mailing list