From Fedora Project Wiki
(this doesn't work with Live.iso) |
(clarify repo architecture) |
||
Line 1: | Line 1: | ||
{{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 or FTP repository. | |description=This is to verify that [[Anaconda]]'s <code>inst.repo</code> [[Anaconda Boot Options|boot option]] works together with an HTTP(S) or FTP 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}}). | ||
|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 by adding a following boot option: | ||
#* For HTTP: <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://download.fedoraproject.org/pub/fedora/linux/development/{{FedoraVersionNumber|next}}/x86_64/os/ }} | #* '''Example''': Use {{#tag:pre|inst.repo=http://download.fedoraproject.org/pub/fedora/linux/development/{{FedoraVersionNumber|next}}/x86_64/os/ }} | ||
#* Make sure the repository architecture matches the architecture of your installer media. | |||
# Proceed with installation. | # Proceed with installation. | ||
|results= | |results= |
Revision as of 15:10, 8 November 2012
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
).
How to test
- Before booting the installer, specify a target HTTP/FTP repository 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://download.fedoraproject.org/pub/fedora/linux/development/42/x86_64/os/
- Make sure the repository architecture matches the architecture of your installer media.
- 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://download.fedoraproject.org/pub/fedora/linux/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