Adding a Third-Party or Private Software Source
Add a yum repository from an independent software vendor (ISV), independent hardware vendor (IHV), or your private yum repository as a software source in OS Management Hub.
A third-party software source is one provided by an ISV or IHV. A private software source is one provided by you. See Understanding Third-party and Private Software Sources.
On the Software Sources list page, from the Actions menu, select Add third-party software source or Add private software source, as appropriate for the repository you want to add.
If you need help finding the list page, see Listing Software Sources.
1. Add Basic Details
Provide the basic information and settings for the source, and then select Next.
-
Name: Enter a name for the source. You can change the name at any time. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the custom software source.
Note
OS Management Hub appends the OS version and architecture to the name. For example, if you enter the nameabc-corp
and specify Oracle Linux 9 and x86_64, the full name becomesabc-corp-ol9-x86_64
. -
Description: (Optional) Enter a description for the source.
-
URL: Enter the URL to the repository (such as
https://myrepositoryurl
). We recommend using https protocol whenever possible. -
OS Version and Architecture: Add the OS version and architecture that can use this software source. If the repository supports multiple OS versions or architectures, you can add multiple entries.
-
Mirror to management stations: When enabled, the source can be mirrored on a management station for use with on-premises or third-party cloud instances. When disabled, on-premises or third-party cloud instances access the source directly from the repository URL instead of the management station.
-
Enable GPG checking: When enabled, use GPG checking to validate the content in the software source.
-
GPG key URI: When GPG checking is enabled, the location of the key used to validate content in the software source.
-
Allow self-signed certificates: When enabled, the source accepts self-signed certificates for authentication.
-
Show advanced options: Add tags to this resource.
If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, ask an administrator or skip this option. You can apply tags later.
2. Add Advanced Options
Paste any advanced YUM directives required by the software source, and then select Next.
Note
To learn more about advanced YUM directives, see the following resources:
- Oracle Linux 7: Yum Repository Configuration
- Oracle Linux 8 and 9: Editing Yum Repository Configuration Files
Or, see the
dnf.conf(5)
oryum.conf(5)
man pages on an Oracle Linux system.3. Review
Review the details of the source. Make any changes as needed, and then select Add.
-
Use the oci os-management-hub software-source create-custom-swsrc command and required parameters to add a third-party or private software source.
oci os-management-hub software-source create-custom-swsrc --compartment-id ocid --display-name name --url repository-url [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the CreateSoftwareSource operation to create add a third-party or private software source.