Skip to content

Instantly share code, notes, and snippets.

@pythoninthegrass
Forked from nordineb/readme.MD
Last active February 28, 2023 21:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pythoninthegrass/e8a7112fb4f4f90badf2705cc72b36e6 to your computer and use it in GitHub Desktop.
Save pythoninthegrass/e8a7112fb4f4f90badf2705cc72b36e6 to your computer and use it in GitHub Desktop.
multipass + qemu on macOS

multipass + qemu on macOS

Multipass can launch and run virtual machines and configure them with cloud-init like a public cloud

Usage

brew install multipass libvirt
brew services start libvirt
multipass set local.passphrase=<foo>    # `multipass set local.passphrase` avoids stdout creds
multipass authenticate
multipass get local.driver
multipass set local.driver=qemu         # hyperkit, qemu, virtualbox

Further Reading

How to authenticate clients with the Multipass service
How to set up the driver
local.driver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment