Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

41
multipass Normal file
View File

@@ -0,0 +1,41 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# multipass
> Manage Ubuntu virtual machines using native hypervisors.
> More information: <https://multipass.run/>.
- List the aliases that can be used to launch an instance:
`multipass find`
- Launch a new instance, set its name and use a cloud-init configuration file:
`multipass launch -n {{instance_name}} --cloud-init {{configuration_file}}`
- List all the created instances and some of their properties:
`multipass list`
- Start a specific instance by name:
`multipass start {{instance_name}}`
- Show the properties of an instance:
`multipass info {{instance_name}}`
- Open a shell prompt on a specific instance by name:
`multipass shell {{instance_name}}`
- Delete an instance by name:
`multipass delete {{instance_name}}`
- Mount a directory into a specific instance:
`multipass mount {{path/to/local/directory}} {{instance_name}}:{{path/to/target/directory}}`