From Fedora Project Wiki

(update for Fedora 18)
(add instructions how to check the requested repository is being used)
Line 8: Line 8:
#* 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}}/i386/os/ }}
#* '''Example''': Use {{#tag:pre|inst.repo=http://download.fedoraproject.org/pub/fedora/linux/development/{{FedoraVersionNumber|next}}/x86_64/os/ }}
# Proceed with installation.
# Proceed with installation.
|results=
|results=
# Anaconda uses the package repository from the HTTP/FTP server provided to install required packages.
<ol>
<li>The installer auto-selects requested HTTP/FTP 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:
{{#tag:pre|
09:34:37,295 DEBUG packaging: adding yum repo anaconda with baseurl http://download.fedoraproject.org/pub/fedora/linux/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 updates-testing
09:34:37,314 DEBUG packaging: disabling repo updates
}}</li>
</ol>
}}
}}



Revision as of 14:02, 29 October 2012

Description

This is to verify that Anaconda's inst.repo boot option works together with an HTTP or FTP repository.

Setup

  1. Prepare any media for booting the installer.

How to test

  1. Before booting the installer, specify a target HTTP/FTP repository by adding a following boot option:
    • For HTTP:
      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/41/x86_64/os/ 
  2. Proceed with installation.

Expected Results

  1. The installer auto-selects requested HTTP/FTP repository as the installation source in its GUI
  2. 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/41/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