Skip to content

Commit

Permalink
Libvirt: add consoles and graphics docs
Browse files Browse the repository at this point in the history
This commit adds the documentation related to the consoles and graphics lists
that can be declared for the VM.
  • Loading branch information
rascasoft committed Apr 27, 2023
1 parent 3b534d5 commit fbd1c92
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Libvirt.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,25 @@ Note the value of the `cpu_mode` variable that makes this VM able to do nested
virtualization, because of the `host-passthrough` value. Omitting the parameter
will keep the default CPU mode.

Other options are supported for the specific virtual machine, it is possible to
specify one or more terminal consoles, by adding:

```yaml
consoles:
- type: 'pty'
target_type: 'serial'
target_port: '0'
```

or even one or more graphics, by adding:

```yaml
graphics:
- type: 'vnc'
listen_type: 'address'
autoport: 'true'
```

## Using Terraform binary to deploy the Libvirt infrastructure

You can use this role to generate Terraform resource files necessary to
Expand Down

0 comments on commit fbd1c92

Please sign in to comment.