Get

The multipass get command retrieves the value of a single setting specified by a “key” argument. This key takes the form of a dot-separated path in a hierarchical settings tree:

$ multipass get client.gui.autostart
true

The following keys are currently available:

  • client.gui.autostart
    • A boolean that identifies whether or not the Multipass GUI should automatically launch on startup.
    • Default: true (on Linux and macOS it only takes effect after the client (CLI or GUI) is run a first time).
  • client.primary-name
    • The name of the instance that is launched/recognized as primary.
    • Default: primary.
  • local.driver
    • A string identifying the hypervisor back-end in use.
    • Default:
      • qemu on Linux.
      • hyperv on Windows.
      • hyperkit on macOS.

For details on allowed values, see the documentation of set.


The full multipass help get output explains the available options:

$ multipass help get
Usage: multipass get [options] <key>
Get the configuration setting corresponding to the given key.

Keys:
  client.gui.autostart
  client.primary-name
  local.driver

Options:
  -h, --help     Display this help
  -v, --verbose  Increase logging verbosity, repeat up to three times for more
                 detail

Arguments:
  key            Path to the setting whose configured value should be obtained.

Last updated a month ago. Help improve this document in the forum.