From Fedora Project Wiki

(Undo revision 281100 by Hongqing (talk))
(link out to the anaconda/updates page for up-to-date creation instructions)
Line 2: Line 2:
|description=This test will verify that anaconda can download the requested {{filename|updates.img}} file using a HTTP url. For help preparing an {{filename|updates.img}}, refer to [[Anaconda/Updates]]
|description=This test will verify that anaconda can download the requested {{filename|updates.img}} file using a HTTP url. For help preparing an {{filename|updates.img}}, refer to [[Anaconda/Updates]]
|actions=
|actions=
<ol>
# Prepare a valid {{filename|updates.img}} file and copy it to a httpd server accessible by your installation. See [[Anaconda/Updates#create-images|this page]] for image creation instructions. A good thing to change in the {{filename|updates.img}} is the "What language would you like to use during the installation process?" text in {{filename|pyanaconda/iw/language_gui.py}}, as this text is displayed on one of the first screens.
<li> Prepare a valid {{filename|updates.img}} file and copy it to a httpd server accessible by your installation</li>
# Boot the installer while specifying the http URL for the updates image. For example: <pre>inst.updates=http://rhe.fedorapeople.org/install/updates.img</pre>
* A suggested approach is to create a dummy {{filename|updates.img}} with a empty file
# Proceed with installation
<pre>
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</pre>
</li>
<li> Boot the installer while specifying the http URL for the updates image. For example: <pre>inst.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 its content to {{filename|/tmp/updates/}}
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. Any changes you included in the updates.img file are applied
# Anaconda proceeds without error
# Anaconda proceeds without related errors}}
}}




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

Revision as of 18:51, 7 May 2012

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 updates.img file and copy it to a httpd server accessible by your installation. See this page for image creation instructions. A good thing to change in the updates.img is the "What language would you like to use during the installation process?" text in pyanaconda/iw/language_gui.py, as this text is displayed on one of the first screens.
  2. Boot the installer while specifying the http URL for the updates image. For example:
    inst.updates=http://rhe.fedorapeople.org/install/updates.img
  3. Proceed with installation

Expected Results

  1. Anaconda prepares the updates.img and copies its content to /tmp/updates/. Any changes you included in the updates.img file are applied
  2. Anaconda proceeds without related errors