Multipass On Ubuntu 24

Multipass On Ubuntu 24

Multipass is a command-line utility that streamlines the creation and management of Ubuntu virtual machines across various platforms, including Windows, macOS, and Linux. By default, Multipass utilizes specific drivers for virtualization:

  • macOS and amd64 Linux: qemu
  • Non-amd64 Linux: lxd
  • Windows: hyperv

Multipass

For users seeking enhanced control over their virtual machines, particularly on Linux systems, Multipass offers the flexibility to switch to the libvirt driver. Libvirt is a robust API for managing platform virtualization, providing a unified interface to various hypervisors.

To Install Libvirt and Multipass

sudo apt update
sudo apt install qemu-kvm libvirt-daemon-system
snap install multipass

To configure Multipass to use libvirt as its backend, execute the following command:

snap connect multipass:libvirt
sudo multipass set local.driver=libvirt

This adjustment enables Multipass to leverage the capabilities of libvirt, offering a more integrated virtualization experience on Linux platforms. For comprehensive guidance on utilizing libvirt with Multipass, refer to the official documentation.

Ubuntu Discourse

Additionally, for detailed information on libvirt’s functionalities and its integration within Ubuntu Server, consult the Ubuntu Server Guide.

By configuring Multipass to use libvirt, users can achieve a more tailored and efficient virtualization setup, aligning with their specific preferences.