io7m | single-page | multi-page
3.12. vm-add-virtio-network-device
Previous
3. Command-Line Interface
Up
3.14. vm-define
Next
3.13

# vm-console

- 3.13. vm-console
  - 3.13.1. Name
  - 3.13.2. Description
  - 3.13.3. Example

3.13.1

## Name

1
vm-console - Connect to the console a virtual machine
3.13.2

## Description

1
The vm-console command attempts to connect to the primary console for the given virtual machine. In practice, this means executing the cu program on the host device node that represents the console for the VM. The command will fail with a diagnostic error message if the virtual machine has no console, or has multiple consoles.
2

### 3.13.2.2 Parameters

Parameter | Type | Required | Description
--- | --- | --- | ---
--comment | String | false | A comment describing the new disk
--configuration | Path | false | The path to the configuration file (environment variable: $WAXMILL_CONFIGURATION_FILE)
--dry-run | Boolean | false | Show the commands that would be executed, but do not execute them.
--machine | UUID | true | The ID of the virtual machine
--verbose | Log Level | false | Set the minimum logging verbosity level.

3.13.3

## Example

1

### 3.13.3.1 Example

    $ waxmill vm-console \
      --machine de17174a-1b3c-4ebc-80af-cb239aa18cbd \
      --dry-run true
    /usr/bin/cu -l /dev/nmdm_de17174a-1b3c-4ebc-80af-cb239aa18cbd_B

    $ waxmill vm-console \
      --machine de17174a-1b3c-4ebc-80af-cb239aa18cbd
    Connected

    OpenBSD/amd64 <931.461.60231.14.vt920> (tty00)

    login:

3.12. vm-add-virtio-network-device
Previous
3. Command-Line Interface
Up
3.14. vm-define
Next
io7m | single-page | multi-page