Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add graphics variable. #31

Merged
merged 2 commits into from
May 1, 2024
Merged

Conversation

paisley
Copy link
Contributor

@paisley paisley commented Apr 4, 2024

This resolves issue #30.

Due to SPICE graphics support no longer being supported by RHEL9 and its derivatives, this change adds the graphics variable allowing the graphics type to be set to vnc. The default value is still spice so as to be compatible with anyone currently using this provider. According to the libvirt docs both SPICE and VNC share the same listen_type and autoport options.

This change includes the following:

  • New graphics variable allowing only vnc or spice as valid options in variables.tf
  • Change the graphics type to the new variable var.graphics in main.tf
  • Added the graphics = "vnc" option to the examples/basic/main.tf
  • Updated the README to include the new variable and how to use it.

MonolithProjects and others added 2 commits February 5, 2023 15:58
Add the variable var.graphics to allow overriding the default graphics type of 'spice' with 'vnc' which is compatible with RHEL9.
Copy link
Owner

@MonolithProjects MonolithProjects left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MonolithProjects MonolithProjects merged commit 657dcbf into MonolithProjects:develop May 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants