`multipass alias` command

See also: Alias, aliases, unalias, How to use instance command aliases

[Since version 1.8.0]

The alias command makes Multipass create a persistent alias to run commands on a given instance. Its syntax is the following:

multipass alias instance:command [name]

If name is omitted, the alias name defaults to command.

[Since version 1.10.0]

After running this, a new alias is defined as running the command on the given instance. By default since Multipass 1.10.0, in the case the host folder on which executing an alias is mounted on the instance, the working directory on the instance is changed to the mounted directory. This behavior can be avoided when defining the alias with the parameter --no-map-working-directory.

Last updated 1 year, 2 months ago.