Feature #1711

Need an option to choose whether a Libvirt-based VM should have a VNC password set or not

Added by Andreas Ntaflos almost 11 years ago. Updated over 9 years ago.

Compute resources
Target version:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


We use Libvirt-based compute resources and are all in all very happy with the way Foreman supports provisioning of virtual machines (still needing to work around issue #1639 though). And the web-based VNC console is just awesome.

But we dearly need an option at provisioning time to enable or disable the VNC password. Firstly, the password is nowhere noted, except in the VM's XML definition (virsh edit foo). It is not very practical to get it out of there. Secondly, to remove the password the VM needs to be shut down, which also very impractical and sometimes not even possible. All of this interferes pretty heavily with the idea of no-hands provisioning of machines. And since Foreman is not yet able to fully replace virt-manager and all its features (and I don't know that it ever should), I don't think it is a good idea to impede virt-manager's function by effectively disabling the VNC console.

Kinda related to this is issue #1644 which is the reason we can't even really use the web-based console. The default keymap that gets set is entirely wrong.

Related issues

Related to Foreman - Feature #1740: VNC password should be optional on hypervisorsDuplicate2012-07-10
Has duplicate Foreman - Feature #2742: VNC/Spice password creation should be optionalDuplicate2013-07-03

Associated revisions

Revision b760d48d (diff)
Added by Greg Sutcliffe over 9 years ago

Fixes #2721 - Allow use of spice for libvirt via checkbox per-CR
Fixes #1711 - Add a per-CR checkbox for console passwords


#1 Updated by Dominic Cleal over 9 years ago

  • Has duplicate Feature #2742: VNC/Spice password creation should be optional added

#2 Updated by Dominic Cleal over 9 years ago

  • Assignee set to Greg Sutcliffe
  • Target version set to 1.3.0
  • Description updated (diff)
  • Category set to Compute resources
  • Status changed from New to Ready For Testing

#3 Updated by Greg Sutcliffe over 9 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF