Bug 493807

Summary: virt-install: --vnclisten=<ip> option would be nice
Product: [Community] Virtualization Tools Reporter: Guido Günther <agx>
Component: virtinstAssignee: Daniel Berrangé <berrange>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: berrange, crobinso
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-07 20:27:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Guido Günther 2009-04-03 08:07:17 UTC
'virt-install --vnc' only opens by default a port on 127.0.0.1 and the
VM can't be remotely accessed through the VNC server.

It would be nice to add an option called "--vnclisten=<address>" to
virt-install like the actual "--vncport=VNCPORT".

This came in via the Debian BTS:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521044

Comment 1 Daniel Berrangé 2009-04-03 09:28:54 UTC
For the VNC listen address, most people find it more convenient to set this up system wide, so all VMs listen on the public address. You typically need to setup security credentials for the server in the system wide config already, so its easy to change the default listen address at the same time. On Xen this is /etc/xen/xend-config.sxp, and for QEMU this is /etc/libvirt/qemu.conf

Comment 2 Mark McLoughlin 2009-04-03 10:28:17 UTC
Looks like this is meant for upstream virtinst bugzilla

Comment 3 Guido Günther 2009-04-03 11:35:07 UTC
Then the manpage should be fixed/expaned?

Report bugs to the mailing list "http://www.redhat.com/mailman/listinfo/et-mgmt-tools" or directly to BugZilla "http://bugzilla.redhat.com/bugzilla/" against the "Fedora" product, and the "python-virtinst" component.

Comment 4 Cole Robinson 2009-05-07 20:27:00 UTC
There is certainly value in being able to specify this per-VM: we already expose a similar knob in virt-manager.

I've pushed this option upstream (though now I need to tweak the manpage to specify the default isn't necessarily 127.0.0.1):

http://hg.et.redhat.com/cgi-bin/hg-virt.cgi/applications/virtinst--devel/rev/78e590ca02ea

Comment 5 Guido Günther 2009-05-08 06:38:33 UTC
Awesome. Thanks a lot.