From Fedora Project Wiki

< QA‎ | TestCases

Revision as of 10:44, 4 June 2010 by Rhe (talk | contribs) (Add repo= method)

Description

A complete installation using the FTP (non-anonymous) network installation protocol.


How to test

  1. Boot anaconda using any available means
  2. Direct the installer to use a FTP installation source by using any method below:
    1. Specify on the boot command:
      repo=ftp://[user:password@]<host>/<path>
    2. Add the boot command: askmethod
      • When prompted, provide the server and path of a valid FTP installation source
      • Include a valid username and password into the FTP URL using the form
        ftp://USER:PASS@some.server/path/to/install
Note.png
A valid username?
Unless you are an administrator of the FTP server, you may not have a list of valid users and passwords. Additionally, sending a password plain/text may be a security risk depending on your network setup. One option is to provide a username of anonymous with a password of email. The resulting URL would be in the form of
ftp://anonymous:email@some.server/path/to/install
. This may seem unintuitive, but this will still exercise anaconda's ability to properly parse user input and send the information to the requested FTP server.

Expected Results

  1. Anaconda uses the images/install.img from the FTP server provided if the second method above is used. This can be confirmed if you have access to the FTP server logs. Alternatively, you can examine the file /var/log/anaconda.log looking for a line similar to the following
    INFO    : URL_STAGE_MAIN: url is ftp://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/install.img
  2. Anaconda uses the package repository from the FTP server provided
  3. Anaconda completes successfully
  4. System boots successfully