Create custom products and repositories with the repository discovery feature to search URLs for multiple repositories.
Third-party software vendors often use multiple software package repositories for their different software collections. Rather than manually creating each repository on Satellite Server by specifying their individual URLs, you can use repository discovery to expedite the process of adding multiple DNF repositories from the same source.
When you use the repository discovery feature, you supply a URL to Satellite Server. Satellite Server scans the contents of this URL to discover all the accessible repositories under the directory structure of that URL. You use the results to create all the intended repositories together.
To create a product with repository discovery:
In the Satellite web UI, choose the required organization and location from the main menu. Navigate to → .
Click to open the page. Use the following table to determine suitable values:
| Option | Description |
|---|---|
Repository Type
| Specifies the type of the repository.
For software package repositories, select DNF Repositories. |
URL to Discover
| Specifies the URL to search for repositories. This URL points to the Red Hat CDN for a connected Satellite Server. For a disconnected Satellite Server, this URL points to the local CDN. |
Username
| Sets the username to enable authenticated access to the repository if you intend to protect the repository with a password. Leave the field blank to enable anonymous access to the repository. |
Password
| Sets the password of the user for authentication to the repository. Leave the field blank to enable anonymous access to the repository. |
Click to start the repository discovery based on the specified settings. The discovered repositories are displayed in the section of the page. To create a product with the discovered repositories, select the checkboxes for the intended repositories, and click .
On the page, in the section, select New Product in the field to add the selected repositories to a new product in Satellite Server.
The field sets the name of the new product. The field is automatically populated from the field.
Select to publish the content of the repository via HTTP. Select to validate the SSL certificates of the external content source against the trusted Certificate Authorities.
Click to create the custom product with the selected repositories.
To add or modify selections for an existing product repository, navigate to → , and select the checkbox next to the product to modify, and then click . Select the from the drop-down menu and enter a URL for the CDN to search in the field. Click the button. Select the repositories from the list, and then click .
From the page, under , select from the drop-down menu of the field to add the selected repositories to an existing product in the Satellite Server. Select the intended product from the drop-down menu of the field. Set the values of the other fields as appropriate, and click to add the newly discovered repository to the existing product. All the other fields retain the same values as previously described.
To add a GPG key to a product, navigate to → , and click the product name to add the GPG key to. On the tab, in the section, click the pencil icon for . Select an item from the list, and then click .
Creating and managing GPG keys will be discussed in a later section.
For more information, refer to the Importing Content chapter in the Red Hat Satellite 6.11 Managing Content Guide at https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html-single/managing_content/index#Importing_Content_content-management