devstack: add vnc listen address

Make virtual machine graphical console listen on 0.0.0.0.
This allows to access to VM VNC console from remote ('desktop' PC)
on devstack's HOST_IP.
VNC port may be found by using: virsh vncdisplay {vm_name}

Change-Id: I253899393c98c24d46710aa4ab78f1090bae00f4
This commit is contained in:
Eli Qiao 2016-12-09 17:34:37 +08:00 committed by Eli Qiao
parent b15a8cf90a
commit 95da9dc0d2

View File

@ -50,7 +50,7 @@
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</interface> </interface>
<input type='mouse' bus='ps2'/> <input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes'/> <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'/>
<video> <video>
<model type='cirrus' vram='9216' heads='1'/> <model type='cirrus' vram='9216' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
@ -61,4 +61,3 @@
</memballoon> </memballoon>
</devices> </devices>
</domain> </domain>