mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 15:25:36 +00:00
localhost instead of 127.0.0.1 makes ipv6 life easier
This commit is contained in:
parent
2fbd27eabc
commit
fd1f36ac6f
@ -3024,7 +3024,7 @@ sub config_to_command {
|
|||||||
my $pfamily = PVE::Tools::get_host_address_family($nodename);
|
my $pfamily = PVE::Tools::get_host_address_family($nodename);
|
||||||
$spice_port = PVE::Tools::next_spice_port($pfamily);
|
$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, '-device', "virtio-serial,id=spice$pciaddr";
|
||||||
push @$devices, '-chardev', "spicevmc,id=vdagent,name=vdagent";
|
push @$devices, '-chardev', "spicevmc,id=vdagent,name=vdagent";
|
||||||
|
Loading…
Reference in New Issue
Block a user