From Fedora Project Wiki

(add a updates.img example)
(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 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
<ol>
#* A suggested approach is to create a dummy updates.img with a empty file
<li> Prepare a valid kickstart file and copy to a httpd server accessible by your installation</li>
#:<pre>
* A suggested approach is to create a dummy updates.img with a 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</pre>
# Boot the installer while specifying the http URL for the updates image. For example <code>updates=http://rhe.fedorapeople.org/install/updates.img</code>
</li>
# Proceed with installation
<li> Boot the installer while specifying the http URL for the updates image. For example: <pre>updates=http://rhe.fedorapeople.org/install/updates.img</pre></li>
<li> Proceed with installation</li>
</ol>
|results=
|results=
# Anaconda prepares the {{filename|updates.img}} and copies it's content to {{filename|/tmp/updates/}}
# Anaconda prepares the {{filename|updates.img}} and copies it's content to {{filename|/tmp/updates/}}

Revision as of 09:49, 2 June 2011

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://rhe.fedorapeople.org/install/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