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

Secure Boot & Virtual TPM #301

Closed
wants to merge 1 commit into from

Conversation

stejskalleos
Copy link
Collaborator

Add support for Secure Boot and TPM
Inspired by https://github.com/ananace/foreman_vmware_advanced

@chris1984
Copy link
Collaborator

@stejskalleos is this good to review?

@stejskalleos
Copy link
Collaborator Author

Yes, but I cannot say that 100% it's working as my provisioning was kinda funky when I was testing it.

Copy link
Collaborator

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

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

Seeing this when I try to provision:

Failed to create a compute VMware8 (VMware) instance [irene-pendl.satellite.lab.eng.rdu2.redhat.com](http://irene-pendl.satellite.lab.eng.rdu2.redhat.com/): RuntimeFault: RuntimeFault.summary

Comment on lines +172 to +174
if attributes[:secure_boot]
options[:efiSecureBootEnabled] = true
end
Copy link
Collaborator

Choose a reason for hiding this comment

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

This won't work if boot_order or boot_retry are not set. See

vm_cfg[:bootOptions] = boot_options(attributes, vm_cfg) if attributes.key?(:boot_order) || attributes.key?(:boot_retry)

@nofaralfasi
Copy link
Collaborator

nofaralfasi commented Jul 18, 2024

I don't have permission to push changes to this PR, so I created a new one: #305.

@chris1984 chris1984 closed this Jul 29, 2024
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.

3 participants