From Fedora Project Wiki

< QA‎ | TestCases

No edit summary
(Add repo= method)
Line 3: Line 3:
|actions=
|actions=
# Boot anaconda using any available means
# Boot anaconda using any available means
# When prompted, provide the server and path of a valid FTP installation source
# Direct the installer to use a FTP installation source by using any method below:
# Include a valid <code>username</code> and <code>password</code> into the FTP URL using the form <pre>ftp://USER:PASS@some.server/path/to/install</pre>
## Specify on the boot command: <pre>repo=ftp://[user:password@]<host>/<path></pre>
## Add the boot command: <code>askmethod</code>
##* When prompted, provide the server and path of a valid FTP installation source
##* Include a valid <code>username</code> and <code>password</code> into the FTP URL using the form <pre>ftp://USER:PASS@some.server/path/to/install</pre>
{{admon/note|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 <code>plain/text</code> 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 <pre>ftp://anonymous:email@some.server/path/to/install</pre>. 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.}}
{{admon/note|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 <code>plain/text</code> 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 <pre>ftp://anonymous:email@some.server/path/to/install</pre>. 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.}}
|results=
|results=
# Anaconda moves to [http://fedoraproject.org/wiki/Anaconda/Stage stage2] using ftp images
# Anaconda uses the {{filename|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 {{filename|/var/log/anaconda.log}} looking for a line similar to the following <pre>INFO    : URL_STAGE_MAIN: url is ftp://download.fedora.redhat.com/pub/fedora/linux/development/i386/os/images/install.img</pre>
# Anaconda uses the package repository from the FTP server provided
# Anaconda completes successfully
# Anaconda completes successfully
# System boots successfully
# System boots successfully

Revision as of 10:44, 4 June 2010

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