Editing a Third-Party or Private Software Source

Modify the configuration of a third-party or private software source in OS Management Hub.

  • Basic Details

    Update the basic information for the software source:

    • 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 name abc-corp and specify Oracle Linux 9 and x86_64, the full name becomes abc-corp-ol9-x86_64.
    • Description: (Optional) Enter a description for the source.

    Configuration

    Update the configuration details for the repository:

    • URL: Enter the URL to the repository (such as https://myrepositoryurl). We recommend using https protocol whenever possible. See Repository URL.

      Tip

      Got an Invalid URL format error? Verify you don't have an accidental space at the beginning or end of the URL.
    • 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. See Mirroring to Management Stations.

    Security

    Update the security options:

    • Enable GPG checking: When enabled, use GPG checking to validate the content in the software source. See What is a GPG key?

    • GPG key URI: When GPG checking is enabled, the location of the key used to validate content in the software source. See What is a URI?

    • Allow self-signed certificates: When enabled, the source accepts self-signed certificates for authentication.

    YUM repository file advanced settings

    Paste any advanced YUM directives required by the software source.

    Note

    To learn more about advanced YUM directives, see the following resources:

    Or, see the dnf.conf(5) or yum.conf(5) man pages on an Oracle Linux system.

    Update

    Review the modified details of the source, and then click Update.

  • Use the oci os-management-hub software-source update-third-party-swsrc or oci os-management-hub software-source update-third-party-swsrc command and required parameters to update a third-party software source.

    oci os-management-hub software-source update-third-party-swsrc --software-source-id ocid  [OPTIONS]

    Use the oci os-management-hub software-source update-private-swsrc command and required parameters to update a private software source.

    oci os-management-hub software-source update-private-swsrc --software-source-id ocid  [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the UpdateSoftwareSource operation to edit the third-party or private software source.