From Fedora Project Wiki
m (reboot should work) |
(update log output) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Template:Associated_release_criterion|Beta|remote-package-sources}} | |||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This is to verify that [[Anaconda]]'s <code>inst.repo</code> [[Anaconda Boot Options|boot option]] works together with an NFS repository. | |description=This is to verify that [[Anaconda]]'s <code>inst.repo</code> [[Anaconda Boot Options|boot option]] works together with an NFS repository. | ||
Line 15: | Line 17: | ||
<ol> | <ol> | ||
<li>The installer auto-selects requested NFS repository as the installation source in its GUI</li> | <li>The installer auto-selects requested NFS repository as the installation source in its GUI</li> | ||
<li>The requested repository is used to download and install required packages. This can be checked by inspecting {{filename|/tmp/ | <li>The requested repository is used to download and install required packages. This can be checked by inspecting {{filename|/tmp/storage.log}}, example output: | ||
<pre> | <pre>13:03:57,859 DEBUG blivet: 192.168.1.1:/mnt/repo is mounted on /run/install/repo</pre> | ||
. | and {{filename|/tmp/packaging.log}}, example output: | ||
<pre>13:03:58,139 INFO packaging: adding yum repo, name: anaconda, baseurl: file:///run/install/repo, mirrorlist: None | |||
13:03:58,224 INFO packaging: gathering repo metadata | |||
13:03:58,228 INFO packaging: skipping disabled repo fedora | |||
13:03:58,229 INFO packaging: skipping disabled repo fedora-workstation | |||
13:03:58,230 INFO packaging: skipping disabled repo updates-testing | |||
13:03:58,231 INFO packaging: gathering repo metadata for anaconda | |||
13:03:58,296 INFO packaging: skipping disabled repo updates | |||
13:03:58,297 INFO packaging: skipping disabled repo fedora-server | |||
13:03:58,299 INFO packaging: skipping disabled repo fedora-cloud</pre></li> | |||
<li>The installation completes and the new system initiates boot properly</li> | <li>The installation completes and the new system initiates boot properly</li> | ||
</ol> | </ol> |
Latest revision as of 13:15, 24 October 2014
Description
This is to verify that Anaconda's inst.repo
boot option works together with an NFS repository.
Setup
- You need to have a Fedora repository accessible over an NFS protocol. If you do have it, no further setup is needed. If you don't, you can mount a
DVD.iso
image and export it over NFS this way:- Mount the image over loopback:
# mount -o loop Fedora-42-x86_64-DVD.iso /mnt/repo
- Install
nfs-utils
. - Let's say your (virtual) test machine is in the
192.168.1.0/24
subnet. Put the following line into/etc/exports
:/mnt/repo 192.168.1.0/24(ro)
- Restart NFS service:
# systemctl restart nfs-server.service
- The repository is now accessible over NFS via
<your_IP>:/mnt/repo
- Mount the image over loopback:
- Prepare any non-live media for booting the installer (anything except
Live.iso
).
How to test
- Before booting the installer, specify a target NFS repository by adding a following boot option:
inst.repo=nfs[:options]:<server>:/<path>
Example:inst.repo=nfs:your_IP:/mnt/repo
Make sure the repository architecture matches the architecture of your installer media. - Proceed with installation
Expected Results
- The installer auto-selects requested NFS repository as the installation source in its GUI
- The requested repository is used to download and install required packages. This can be checked by inspecting
/tmp/storage.log
, example output:13:03:57,859 DEBUG blivet: 192.168.1.1:/mnt/repo is mounted on /run/install/repo
and
/tmp/packaging.log
, example output:13:03:58,139 INFO packaging: adding yum repo, name: anaconda, baseurl: file:///run/install/repo, mirrorlist: None 13:03:58,224 INFO packaging: gathering repo metadata 13:03:58,228 INFO packaging: skipping disabled repo fedora 13:03:58,229 INFO packaging: skipping disabled repo fedora-workstation 13:03:58,230 INFO packaging: skipping disabled repo updates-testing 13:03:58,231 INFO packaging: gathering repo metadata for anaconda 13:03:58,296 INFO packaging: skipping disabled repo updates 13:03:58,297 INFO packaging: skipping disabled repo fedora-server 13:03:58,299 INFO packaging: skipping disabled repo fedora-cloud
- The installation completes and the new system initiates boot properly