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

Support 'None' Option for PXE Loader Selection #971

Closed
jjaswanson4 opened this issue Sep 22, 2020 · 2 comments · Fixed by #972
Closed

Support 'None' Option for PXE Loader Selection #971

jjaswanson4 opened this issue Sep 22, 2020 · 2 comments · Fixed by #972

Comments

@jjaswanson4
Copy link
Contributor

SUMMARY

'None' is an option within the webUI and the API, however the modules currently reject the option before firing off an API call.

FIX

Within plugins/module_utils/foreman_helper.py, add 'None' to pxe_loader=dict(choices)

@jjaswanson4
Copy link
Contributor Author

PR to Address

@jjaswanson4
Copy link
Contributor Author

From the API docs:

(Pulled for hostgroup, also used elsewhere)

hostgroup[pxe_loader]optional
...
Validations:
Must be one of:
None, PXELinux BIOS, PXELinux UEFI, Grub UEFI, Grub2 BIOS, Grub2 ELF, Grub2 UEFI, Grub2 UEFI SecureBoot, Grub2 UEFI HTTP, Grub2 UEFI HTTPS, Grub2 UEFI HTTPS SecureBoot, iPXE Embedded, iPXE UEFI HTTP, iPXE Chain BIOS, iPXE Chain UEFI.

jjaswanson4 added a commit to jjaswanson4/foreman-ansible-modules that referenced this issue Sep 22, 2020
evgeni pushed a commit that referenced this issue Sep 22, 2020
* Add 'None' as an option for pxe-loader

This option is selectable in the WebUI and available via the satellite API

* Update documentation for pxe_loader to Include 'None'

Adding 'None' under choices for pxe_loader

* Create changelog Fragment

Tie to #971
evgeni added a commit to evgeni/foreman-ansible-modules that referenced this issue Oct 2, 2020
ehelms pushed a commit that referenced this issue Oct 2, 2020
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 a pull request may close this issue.

1 participant