From Fedora Project Wiki

No edit summary
(render the <pre> tag correctly)
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 updates.img, see [[Anaconda/Updates]]
|description=This test will verify that anaconda can download the requested updates.img file using a HTTP url. For help preparing updates.img, see [[Anaconda/Updates]]
|actions=
|actions=
# Prepare a valid kickstart file
<ol>
#* A suggested approach is to create a dummy <code>updates.img</code> with an empty file:
<li> Prepare a valid kickstart file
#:<pre>
* A suggested approach is to create a dummy <code>updates.img</code> with an empty file:
#:mkdir /tmp/updates
<pre>
#:dd if=/dev/zero of=updates.img bs=1k count=1440
mkdir /tmp/updates
#:mke2fs updates.img
dd if=/dev/zero of=updates.img bs=1k count=1440
#:mount -o loop updates.img /tmp/updates
mke2fs updates.img
#:touch /tmp/updates/TESTING123
mount -o loop updates.img /tmp/updates
#:umount /tmp/updates
touch /tmp/updates/TESTING123
#:</pre>
umount /tmp/updates
# Copy the <code>updates.img</code> into the <code>images/</code> directory of the remote installation source you are installing from
</pre>
# Boot the installer while specifying the installation source where the <code>updates.img</code> was published.
</li>
# Proceed with installation
<li> Copy the <code>updates.img</code> into the <code>images/</code> directory of the remote installation source you are installing from</li>
<li> Boot the installer while specifying the installation source where the <code>updates.img</code> was published.</li>
<li> Proceed with installation</li>
</ol>
|results=
|results=
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}

Revision as of 09:51, 2 June 2011

Description

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


How to test

  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 with installation

Expected Results

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