3 ms·
On MacOS, Multipass uses the native VM software provided by the operating system. And you use Multipass to launch Ubuntu virtual machines. I do not think that M
by simosx 7y ago
On MacOS, Multipass uses the native VM software provided by the operating system. And you use Multipass to launch Ubuntu virtual machines. I do not think that Multipass would be able to directly launch custom qcow2 images.
However, your question is actually whether on MacOS you can have nested virtualization. Because, if MacOS (and Multipass support) it, then this is what you need.
- moondev 7y ago> I do not think that Multipass would be able to directly launch custom qcow2 images. It absolutely does on linux (which uses the qemu driver). <url> is a custom image URL that is in http:// http://, https:// https://, or file:// format. As long as the image is a "cloud" image with cloud-init installed it works fine. I tested this with a fedora image on linux. > However, your question is actually whether on MacOS you can have nested virtualization. Because, if MacOS (and Multipass support) it, then this is what you need. This was not my question, but I don't believe nested virt is supported on macOS with multipass. Someone correct me if i'm wrong but I think nested virt is only available via VMware Fusion on macOS, multipass uses hypervisor.framework via hyperkit
- simosx 7y agoThanks for the correction. Indeed, you can launch many more images than those you get when you run "multipass find". There is a post about this at https://discourse.ubuntu.com/t/new-way-to-launch-images-other-than-cloud-images-from-simplestreams/6282 https://discourse.ubuntu.com/t/new-way-to-launch-images-othe...
- moondev 7y agoRight, "multipass find" only lists the curated ubuntu LTS images on macos. Attempting to launch a qcow2 or img on macos shows "launch failed: http and file based images are not supported" which leads back to my original question. qcow2/img launching indeed works fine on linux
- simosx 7y agomultipass supports two hard-coded remotes, `release:` and `snapcraft:`. It should be feasible to be able to launch any of the VM images from LXD (i.e. https://us.images.linuxcontainers.org/ https://us.images.linuxcontainers.org/), as long as there was a way to add a new _remote_. edit: there is a pending issue https://github.com/canonical/multipass/issues/307 https://github.com/canonical/multipass/issues/307