From Fedora Project Wiki
(add the 'associated criterion' block) |
(clarify HTTPS and drop FTP, per https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org/thread/KJAUUCMCG2IAEAXH6OQMX45KWOFTWANB/) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Template:Associated_release_criterion| | {{Template:Associated_release_criterion|Alpha|remote-package-sources}} | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This is to verify that [[Anaconda]]'s <code>inst.repo</code> [[Anaconda Boot Options|boot option]] works together with an HTTP | |description=This is to verify that [[Anaconda]]'s <code>inst.repo</code> [[Anaconda Boot Options|boot option]] works together with an HTTP/HTTPS repository. | ||
|setup= | |setup= | ||
# Prepare any non-live media for booting the installer (anything except {{filename|Live.iso}}). | # Prepare any non-live media for booting the installer (anything except {{filename|Live.iso}}). | ||
# Pick a mirror URL from the [https://mirrors.fedoraproject.org/publiclist/ list of available mirrors]. For example here's a list of [https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-{{FedoraVersionNumber|next}}&arch=x86_64 Fedora {{FedoraVersionNumber|next}} x86_64 mirrors]. The top ones should be closest to you (and possibly fastest). | |||
#* Make sure the repository architecture matches the architecture of your installer media. | |||
#* You can also use your own install repository, if you have one. | |||
|actions= | |actions= | ||
# Before booting the installer, specify a target HTTP/ | # Before booting the installer, specify a target HTTP/HTTPS repository (selected in previous step) by adding a following boot option: <pre>inst.repo=URL</pre> | ||
#* If proxy is needed, add it as another option: <pre>proxy=[protocol://][username[:password]@]host[:port]</pre> | #* If proxy is needed, add it as another option: <pre>proxy=[protocol://][username[:password]@]host[:port]</pre> | ||
#* '''Example''': | #* '''Example''': {{#tag:pre|inst.repo=https://mirrors.kernel.org/fedora/development/{{FedoraVersionNumber|next}}/x86_64/os/ }} | ||
# Proceed with installation. | # Proceed with installation. | ||
|results= | |results= | ||
<ol> | <ol> | ||
<li>The installer auto-selects requested HTTP/ | <li>The installer auto-selects requested HTTP/HTTPS repository as the installation source in its GUI</li> | ||
<li>The requested repository is used to download and install required packages. This can be checked by inspecting {{filename|/tmp/packaging.log}}. Example output: | <li>The requested repository is used to download and install required packages. This can be checked by inspecting {{filename|/tmp/packaging.log}}. Example output: | ||
{{#tag:pre| | {{#tag:pre| | ||
09:34:37,295 DEBUG packaging: adding yum repo anaconda with baseurl | 09:34:37,295 DEBUG packaging: adding yum repo anaconda with baseurl https://mirrors.kernel.org/fedora/development/{{FedoraVersionNumber|next}}/x86_64/os/ and mirrorlist None | ||
09:34:37,313 DEBUG packaging: disabling repo fedora | 09:34:37,313 DEBUG packaging: disabling repo fedora | ||
09:34:37,313 DEBUG packaging: disabling repo updates-testing | 09:34:37,313 DEBUG packaging: disabling repo updates-testing | ||
Line 26: | Line 26: | ||
</ol> | </ol> | ||
}} | }} | ||
[[Category:Repository]] | [[Category:Repository]] | ||
[[Category:Installation Repository HTTP | [[Category:Installation Repository HTTP]] |
Latest revision as of 09:36, 7 January 2021
Description
This is to verify that Anaconda's inst.repo
boot option works together with an HTTP/HTTPS repository.
Setup
- Prepare any non-live media for booting the installer (anything except
Live.iso
). - Pick a mirror URL from the list of available mirrors. For example here's a list of Fedora 42 x86_64 mirrors. The top ones should be closest to you (and possibly fastest).
- Make sure the repository architecture matches the architecture of your installer media.
- You can also use your own install repository, if you have one.
How to test
- Before booting the installer, specify a target HTTP/HTTPS repository (selected in previous step) by adding a following boot option:
inst.repo=URL
- If proxy is needed, add it as another option:
proxy=[protocol://][username[:password]@]host[:port]
- Example:
inst.repo=https://mirrors.kernel.org/fedora/development/42/x86_64/os/
- If proxy is needed, add it as another option:
- Proceed with installation.
Expected Results
- The installer auto-selects requested HTTP/HTTPS repository as the installation source in its GUI
- The requested repository is used to download and install required packages. This can be checked by inspecting
/tmp/packaging.log
. Example output:09:34:37,295 DEBUG packaging: adding yum repo anaconda with baseurl https://mirrors.kernel.org/fedora/development/42/x86_64/os/ and mirrorlist None 09:34:37,313 DEBUG packaging: disabling repo fedora 09:34:37,313 DEBUG packaging: disabling repo updates-testing 09:34:37,314 DEBUG packaging: disabling repo updates
- The installation completes and the new system initiates boot properly