How to create a custom repository on Red Hat Satellite 6 via Web-ui ?

Solution Verified - Updated

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 ContentProductsCreate Product .
    • Type in the name of the new product in the Name field.
    • Type in a label for the new product in the Label field.
    • Select a GPG key from the GPG Key drop-down menu (Optional) .
    • Select a synchronization plan from the Sync Plan drop-down menu. Alternatively, select the + New Sync Plan link to create a new synchronization plan. (Optional)
    • Type in a description of the new product in the Description field.
    • Click the Save button to save your new product account.
  • Now create a repository under this product by following this steps:

    • Click the New Repository tab.
    • Type in the name of the new repository in the Name field.
    • Add a label name under Label filed.
    • Set type to either docker, file, puppet, yum, ostree as per the type of contents this repository will hold.
    • For yum based repositories select Download Policy as per the requirement.
    • Click on Save button to create the repository.
  • 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.

SBR
Product(s)

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.