mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
1.2 KiB
1.2 KiB
Multipass
Table of contents
TL;DR
# Install.
brew install --cask 'multipass'
choco install 'multipass'
sudo snap install 'multipass'
# Find available VMs.
multipass find
# Launch a VM.
multipass launch --name 'primary'
multipass launch -c '2' -m '2G' -d '20G' -n 'my-test-vm' '21.10'
multipass launch 'bionic' --name 'test-cloud-init' --cloud-init 'userdata.yaml'
# List all VMs.
multipass list
# Launch a shell in the VM.
multipass shell 'vm_name'
# Stop started VMs.
multipass stop 'vm_name'
# Start stopped VMs.
multipass start 'vm_name'
# Delete stopped VMs.
multipass delete my-test-vm
# Clean up unused data.
multipass purge
Further readings
Sources
All the references in the further readings section, plus the following: