From bd1216ba605df9b7df3e92dc2a57b0ab92d15ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Warin?= Date: Fri, 19 Jun 2020 12:35:25 +0200 Subject: [PATCH] multipass: add page (#4105) --- pages/common/multipass.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/multipass.md diff --git a/pages/common/multipass.md b/pages/common/multipass.md new file mode 100644 index 000000000..c06fd1175 --- /dev/null +++ b/pages/common/multipass.md @@ -0,0 +1,36 @@ +# multipass + +> CLI to manage Ubuntu virtual machines using native hypervisors. +> More information: . + +- 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}}`