A set of [homebrew][homebrew] formulae to install [virt-manager
][virt-manager] and [virt-viewer
][virt-viewer] on Mac OSX.
brew tap Striker2k18/homebrew-virt-manager-virt-viewer
brew install virt-manager virt-viewer
virt-manager -c test:///default
When connecting to remote URIs, you probably need to override the libvirt
socket location, see [www.jedi.be][jedi].
virt-manager -c 'qemu+ssh://user@libvirthost/system?socket=/var/run/libvirt/libvirt-sock'
virt-viewer -c 'qemu+ssh://user@libvirthost/system?socket=/var/run/libvirt/libvirt-sock'
This formula for virt-manager
does not include the openssh-askpass
dependency and does not prompt for passwords in a popup window. Here are two workarounds:
-
Run
virt-manager
with either the--debug
or--no-fork
option to get password prompt via the CLI. -
Set up SSH keys between your local and remote system to avoid the prompt.
I've not yet tested virt-manager
against any local URIs/hypervisors. If you get virt-manager
working with a local hypervisor and needed to take any special steps, feel free to share the details.