From Fedora Project Wiki

(add instructions how to check the requested repository is being used)
(this doesn't work with Live.iso)
Line 2: Line 2:
|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 or FTP repository.
|setup=
|setup=
# Prepare any media for booting the installer.
# 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:

Revision as of 14:21, 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 non-live media for booting the installer (anything except Live.iso).

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