Editing a Custom Software Source

Modify the name, description, or latest-only and auto-update settings of a custom software source in OS Management Hub.

  • Edit name or description

    On the software source details page, select Edit.

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

    Select Update.

    Edit latest content only setting

    Enable or disable the Only include the latest version based on your package list switch as required:

    • Enabled: The software source contains only the latest versions of packages based on the filters or package list.

    • Disable: The software source will contain all versions of packages within constraints of the filters or package list.

    Select Update.

    Edit automatic update setting

    Tip

    What's this setting? See Automatically updating content.

    Enable or disable the Automatically update content: switch as required:

    • Enabled: The software source automatically updates package versions within constraints of the filters or package list.

    • Disable: The software source package versions won't be updated.

    Select Update.

    Confirm the update in the Update software source now? dialog by selecting Update.

  • Use the oci os-management-hub software-source update-custom-swsrc command and required parameters to update a custom software source, such as editing its basic details.

    oci os-management-hub software-source update-custom-swsrc --software-source-id ocid --display-name name --description description [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 basic details for a custom software source.