How to create a custom repository on Red Hat Satellite 6 via Web-ui ?
Environment
- Red Hat Satellite 6
Issue
- How to create a custom repository on Red Hat Satellite 6 via Web-ui ?
Resolution
-
For creating a custom repository a product needs to be created first and then a repository needs to be created and assigned to the product.
-
The steps for creating a product are:
- Navigate to
Content→Products→Create Product. - Type in the name of the new product in the
Namefield. - Type in a label for the new product in the
Labelfield. - Select a GPG key from the
GPG Keydrop-down menu (Optional) . - Select a synchronization plan from the
Sync Plandrop-down menu. Alternatively, select the+ New Sync Planlink to create a new synchronization plan. (Optional) - Type in a description of the new product in the
Descriptionfield. - Click the
Savebutton to save your new product account.
- Navigate to
-
Now create a repository under this product by following this steps:
- Click the
New Repositorytab. - Type in the name of the new repository in the
Namefield. - Add a label name under
Labelfiled. - Set type to either
docker,file,puppet,yum,ostreeas per the type of contents this repository will hold. - For yum based repositories select
Download Policyas per the requirement. - Click on
Savebutton to create the repository.
- Click the
-
Now to enable the custom repository on your client follow the below steps:
- Add the custom repository to the content view of the client and publish a new version of it. Promote it to the required environment.
- Attach the custom subscription to the client.
For more KB articles/solutions related to Red Hat Satellite 6.x Repository Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Repository Issues.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.