From Fedora Project Wiki
m (adding note and link to prebuilt updates.img) |
(clarify initial steps) |
||
Line 3: | Line 3: | ||
|actions= | |actions= | ||
<ol> | <ol> | ||
<li> Prepare a | <li> Prepare a local installation source. You can mirror an [http://mirrors.fedoraproject.org/ existing online source] or you can extract the files from a DVD.iso image.</li> | ||
<li> Make the installation source accessible over one of the supported network protocols (HTTP, FTP, NFS). | |||
<li> Prepare a valid {{filename|updates.img}} file. A suggested approach is to create a dummy {{filename|updates.img}} with an empty file: | <li> Prepare a valid {{filename|updates.img}} file. A suggested approach is to create a dummy {{filename|updates.img}} with an empty file: | ||
<pre> | <pre> | ||
Line 15: | Line 16: | ||
A prebuilt {{filename|updates.img}} [http://rhe.fedorapeople.org/install/updates.img is also available for download]. | A prebuilt {{filename|updates.img}} [http://rhe.fedorapeople.org/install/updates.img is also available for download]. | ||
</li> | </li> | ||
<li> Copy the {{filename|updates.img}} into the {{filename|images/}} directory of | <li> Copy the {{filename|updates.img}} into the {{filename|images/}} directory of your local installation source</li> | ||
<li> Boot the installer using the <code>askmethod</code> option at boot and select | <li> Boot the installer using the <code>askmethod</code> option at boot and select the protocol that will use the modified installation source where the {{filename|updates.img}} was published. See [[Anaconda/Options]] for information on supported boot options.</li> | ||
<li> Proceed with installation</li> | <li> Proceed with installation</li> | ||
</ol> | </ol> | ||
|results= | |results= | ||
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. To confirm this, check for the presence of the file /tmp/updates/TESTING123 | # Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. To confirm this, check for the presence of the file {{filename|/tmp/updates/TESTING123}}. | ||
# Anaconda proceeds without error | # Anaconda proceeds without error | ||
}} | }} |
Revision as of 15:03, 2 November 2011
Description
This test will verify that anaconda can download and apply a updates.img
that is inside the remote installation source without extra input from the user. For help preparing updates.img
, see Anaconda/Updates
How to test
- Prepare a local installation source. You can mirror an existing online source or you can extract the files from a DVD.iso image.
- Make the installation source accessible over one of the supported network protocols (HTTP, FTP, NFS).
- Prepare a valid
updates.img
file. A suggested approach is to create a dummyupdates.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
A prebuilt
updates.img
is also available for download. - Copy the
updates.img
into theimages/
directory of your local installation source - Boot the installer using the
askmethod
option at boot and select the protocol that will use the modified installation source where theupdates.img
was published. See Anaconda/Options for information on supported boot options. - Proceed with installation
Expected Results
- Anaconda prepares the
updates.img
and copies its content to/tmp/updates/
. To confirm this, check for the presence of the file/tmp/updates/TESTING123
. - Anaconda proceeds without error