Create a custom product with repositories that are located by using repository discovery.
Outcomes
Create a product and repository by using the repository discovery function.
Use an existing local CDN as the repository source for a custom product.
As the student user on the workstation machine, use the lab command to prepare your system for this exercise.
This command prepares your environment and ensures that all required resources are available.
[student@workstation ~]$ lab start custom-discovery
Instructions
The Operations development team has DVD-structured software that is shared as DNF repositories in the local CDN at the http://cdn.lab.example.com/ URL. The team requests that you make available the software in Satellite Server as a custom product. To simplify this practice, you do not create or configure GPG keys for the product or the repositories. GPG keys and validation are covered in a later section.
This exercise uses existing repository content, which demonstrates how source software can be shared again with different attributes. However, the primary exercise objective is to practice repository discovery.
Log in to the Satellite Server web UI, https://satellite.lab.example.com, as the admin account with redhat as the password.
In the upper-left corner of the web page, set the organization to Operations.
Set the location to Any Location.
Use the repository discovery feature to locate and create repositories for the RHEL 9.x AppStream and BaseOS DVDs in the local CDN.
Click → , and then click .
On the page, select Yum Repositories in the field.
Enter http://cdn.lab.example.com/ in the field.
Click .
In the resulting list, select the checkboxes for the following content, and then click .
/content/dist/rhel9/9/x86_64/appstream/os/
/content/dist/rhel9/9/x86_64/baseos/os/
On the page, locate the section. Enter the following information, and then click .
| Option | Value |
|---|---|
| Product | New Product |
| Name | DVDs |
| Label | DVDs |
| Unprotected | Selected |
| Verify SSL | Selected |
Synchronize the repositories in the DVDs product.
Click → , and then click the product.
On the tab, select the checkboxes for the following repositories, and then click . Wait for the synchronization to complete.
content dist rhel9 9 x86_64 appstream os
content dist rhel9 9 x86_64 baseos os