dmacvicar / terraform-provider-libvirt

Terraform provider to provision infrastructure with Linux's KVM using libvirt
Apache License 2.0
1.58k stars 456 forks source link

Add none option to graphics #1063

Open flx5 opened 9 months ago

flx5 commented 9 months ago

Add an option to remove the graphics device from the domain definition.

Motivation: The minimal ubuntu cloud server images do only print to serial console anyways. To avoid confusion (the SPICE Console only shows attempting initrdless boot which could easily be interpreted as the OS not booting), I wanted to disable the spice console so that virt-manager always shows the serial console directly.

Considered options:

I chose to implement the second option because the first option would be a major breaking change.

See also #359