From Fedora Project Wiki

m (1 revision(s))
(→‎Steps To Reproduce: fix formatting)
Line 6: Line 6:
== Steps To Reproduce ==
== Steps To Reproduce ==


1. Prepare a valid kickstart file
# Prepare a valid kickstart file
* A suggested approach is to create a dummy updates.img with a empty file
#* A suggested approach is to create a dummy <code>updates.img</code> with an empty file:
<pre>
#:<pre>
mkdir /tmp/updates
#:mkdir /tmp/updates
dd if=/dev/zero of=updates.img bs=1k count=1440
#:dd if=/dev/zero of=updates.img bs=1k count=1440
mke2fs updates.img
#:mke2fs updates.img
mount -o loop updates.img /tmp/updates
#:mount -o loop updates.img /tmp/updates
touch /tmp/updates/TESTING123
#:touch /tmp/updates/TESTING123
umount /tmp/updates
#:umount /tmp/updates
</pre>
#:</pre>
1. Copy the updates.img into the ''images/'' directory of the remote installation source you are installing from
# Copy the <code>updates.img</code> into the <code>images/</code> directory of the remote installation source you are installing from
1. Boot the installer while specifying the installation source where the updates.img was published.
# Boot the installer while specifying the installation source where the <code>updates.img</code> was published.
1. Proceed to stage#2
# Proceed to stage#2


== Expected Results ==
== Expected Results ==

Revision as of 18:50, 29 May 2008

QA/TestCases/UpdatesImgViaHttp

Description

This test will verify that anaconda can download the requested updates.img file using a HTTP url.

Steps To Reproduce

  1. Prepare a valid kickstart file
    • A suggested approach is to create a dummy updates.img with an 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. Copy the updates.img into the images/ directory of the remote installation source you are installing from
  3. Boot the installer while specifying the installation source where the updates.img was published.
  4. Proceed to stage#2

Expected Results

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


[1] For help preparing an updates.img, refer to http://fedoraproject.org/wiki/Anaconda/Updates