From Fedora Project Wiki

No edit summary
(add stage2 link etc.)
Line 2: Line 2:
|description=This test will verify that anaconda can download the requested updates.img file using a HTTP url. For help preparing an updates.img, refer to [[Anaconda/Updates]]
|description=This test will verify that anaconda can download the requested updates.img file using a HTTP url. For help preparing an updates.img, refer to [[Anaconda/Updates]]
|actions=
|actions=
# Prepare a valid kickstart file and copy to a httpd server accessible by your installation [1]
# Prepare a valid kickstart file and copy to a httpd server accessible by your installation
#* A suggested approach is to create a dummy updates.img with a empty file
#* A suggested approach is to create a dummy updates.img with a empty file
#:<pre>
#:<pre>
Line 13: Line 13:
#:</pre>
#:</pre>
# Boot the installer while specifying the http URL for the updates image.  For example <code>updates=http://server/path/to/updates.img</code>
# Boot the installer while specifying the http URL for the updates image.  For example <code>updates=http://server/path/to/updates.img</code>
# Proceed to stage#2
# Proceed with installation
|results=
|results=
# Anaconda prepares the updates.img and copies it's content to /tmp/updates/
# Anaconda prepares the {{filename|updates.img}} and copies it's content to {{filename|/tmp/updates/}}
# Anaconda proceeds to stage#2 without error
# Anaconda proceeds to [http://fedoraproject.org/wiki/Anaconda/Stage stage2] without error
}}
}}




[[Category:Recovery Test Cases]]
[[Category:Recovery Test Cases]]

Revision as of 08:08, 13 July 2010

Description

This test will verify that anaconda can download the requested updates.img file using a HTTP url. For help preparing an updates.img, refer to Anaconda/Updates


How to test

  1. Prepare a valid kickstart file and copy to a httpd server accessible by your installation
    • A suggested approach is to create a dummy updates.img with a empty file
    mkdir /tmp/updates
    dd if=/dev/zero of=updates.img bs=1k count=1440
    mke2fs updates.img
    mount -o loop updates.img /tmp/updates
    touch /tmp/updates/TESTING123
    umount /tmp/updates
  2. Boot the installer while specifying the http URL for the updates image. For example updates=http://server/path/to/updates.img
  3. Proceed with installation

Expected Results

  1. Anaconda prepares the updates.img and copies it's content to /tmp/updates/
  2. Anaconda proceeds to stage2 without error