From Fedora Project Wiki
(adjust associated_release_criterion template invocation) |
(replace download.fp.o with a concrete mirror (bug 1003637)) |
||
Line 5: | Line 5: | ||
|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 [http://mirrors.fedoraproject.org/publiclist/ list of available mirrors]. For example here's a list of [http://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/FTP repository by adding a following boot option: | # Before booting the installer, specify a target HTTP/FTP repository (selected in previous step) by adding a following boot option: | ||
#* For HTTP or HTTPS: <pre>inst.repo=http(s)://<host>/<path></pre> | #* For HTTP or HTTPS: <pre>inst.repo=http(s)://<host>/<path></pre> | ||
#* For FTP: <pre>inst.repo=ftp://<host>/<path></pre> | #* For FTP: <pre>inst.repo=ftp://<host>/<path></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''': Use {{#tag:pre|inst.repo=http:// | #* '''Example''': Use {{#tag:pre|inst.repo=http://mirrors.kernel.org/fedora/development/{{FedoraVersionNumber|next}}/x86_64/os/ }} | ||
# Proceed with installation. | # Proceed with installation. | ||
|results= | |results= | ||
Line 18: | Line 20: | ||
<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 http:// | 09:34:37,295 DEBUG packaging: adding yum repo anaconda with baseurl http://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 |
Revision as of 08:06, 13 September 2013
Description
This is to verify that Anaconda's inst.repo
boot option works together with an HTTP(S) or FTP 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/FTP repository (selected in previous step) by adding a following boot option:
- For HTTP or HTTPS:
inst.repo=http(s)://<host>/<path>
- For FTP:
inst.repo=ftp://<host>/<path>
- If proxy is needed, add it as another option:
proxy=[protocol://][username[:password]@]host[:port]
- Example: Use
inst.repo=http://mirrors.kernel.org/fedora/development/42/x86_64/os/
- For HTTP or HTTPS:
- Proceed with installation.
Expected Results
- The installer auto-selects requested HTTP/FTP 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 http://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