Editing a Third-Party or Private Software Source

Change 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 custom software 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.
    • Description: (Optional) Enter a description for the custom software source.

    • URL: Enter the URL to the location containing the repodata directory of 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.

    Security

    Update the security settings for the software source:

    • Use 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.

    Additional settings

    • 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.
    • Use a YUM repository file: 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.

    Select 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.