Fixes #35269 - Enable boot image download of installation media#9318
Closed
bastian-src wants to merge 1 commit intotheforeman:developfrom
Closed
Fixes #35269 - Enable boot image download of installation media#9318bastian-src wants to merge 1 commit intotheforeman:developfrom
bastian-src wants to merge 1 commit intotheforeman:developfrom
Conversation
Member
|
Issues: #35269 |
a532746 to
1411ebf
Compare
bb0d0fc to
a64f5af
Compare
a64f5af to
321cf0f
Compare
7deb15a to
31764aa
Compare
31764aa to
1ca17a4
Compare
1ca17a4 to
d0d16af
Compare
d0d16af to
6d95afd
Compare
6d95afd to
52b0803
Compare
52b0803 to
95525b1
Compare
95525b1 to
ae5fe61
Compare
ae5fe61 to
6004445
Compare
f12ec36 to
f911031
Compare
f911031 to
6960e58
Compare
6960e58 to
a9efa9f
Compare
Member
|
@bastian-src, this pull request is currently not mergeable. Please rebase against the develop branch and push again. If you have a remote called 'upstream' that points to this repository, you can do this by running: This message was auto-generated by Foreman's prprocessor |
* Include proxy.fetch_system_image * Add system_image_path variable for template reference * Adapt PXELinux template * Add tftp_http_port setting * Add tftp.setTFTPBootFiles test scenarios
a9efa9f to
edd0437
Compare
|
Thank you for your contribution! This PR has been inactive for 3 months, closing for now. Feel free to reopen when you return to it. This is an automated process. |
Author
|
@ekohl I just updated the branch - can you reopen the PR, please? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Ubuntu Autoinstall deployment mechanism requires not only the extracted boot files (vmlinuz, initrd), but also the ISO image itself. At the moment, Foreman requires a path to the extracted boot files as Installation Media and does not handle ISO images. Accordingly, the following manual steps are necessary at the moment:
This PR automates these steps. It allows the user to pass the path to an ISO image as Installation Media. Foreman detects this during the deployment process. It triggers the ISO download on the Smart Proxy - the Smart Proxy stores the image to a specific path, extracts it, and detects the boot files from the image. The default path for the Smart Proxy to download and extract the ISO image is
/var/www/html/pub/installation_media. The user has the option to pass a custom path as host parameter.Necessary changes:
resource.rb)operatingsystem.bootimage_pathfor safe rendering of PXELinux templatefetch_boot_imagecallRelated PRs: