Note:
This documentation has moved to a new home! Please update your bookmarks to the new URL for the up-to-date version of this page.
1 Like
Hey there!
This documentation page is out of date. You no longer need either the --beta or --classic flags to install multipass on Ubuntu using snap. It might also be helpful to update the examples to include the latest LTS versions.
1 Like
Thanks, I updated the examples and they are current now.
While doing that, however, I saw that this step isn’t working as advertised anymore:
sudo multipass set local.driver=libvirt
There was something about needing to authenticate. I fumbled a bit with it and it didn’t work straight away, so more troubleshooting is needed.
$ multipass launch ubuntu
launch failed: Cannot connect to libvirtd: Failed to open file '/etc/libvirt/libvirt.conf': Permission denied
Please ensure libvirt is installed and running.
$ sudo multipass set local.driver=libvirt
set failed: The client is not authenticated with the Multipass service.
Please use 'multipass authenticate' before proceeding.
$ multipass authenticate
Please enter passphrase:
authenticate failed: Passphrase is not set. Please `multipass set local.passphrase` with a trusted client.
$ multipass set local.passphrase
Please enter passphrase:
Please re-enter passphrase:
$ multipass authenticate
Please enter passphrase:
authenticate failed: cannot connect to the multipass socket
Please ensure multipassd is running and '/var/snap/multipass/common/multipass_socket' is accessible
$ sudo multipass authenticate
Please enter passphrase:
$ sudo multipass set local.driver=libvirt
$ multipass list
list failed: cannot connect to the multipass socket
Please ensure multipassd is running and '/var/snap/multipass/common/multipass_socket' is accessible
andreas@nsnx:~$ multipass list
No instances found.
$ multipass launch ubuntu
launch failed: Cannot connect to libvirtd: Failed to open file '/etc/libvirt/libvirt.conf': Permission denied
Please ensure libvirt is installed and running.
1 Like