-
Notifications
You must be signed in to change notification settings - Fork 991
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
Fixes #35269 - Enable boot image download of installation media #9318
Fixes #35269 - Enable boot image download of installation media #9318
Conversation
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
@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. |
@ekohl I just updated the branch - can you reopen the PR, please? |
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_path
for safe rendering of PXELinux templatefetch_boot_image
callRelated PRs: