Editing the Package List for a Custom Software Source
Use the package list to include specific package content for a custom software source in OS Management Hub. You can add or remove packages in an existing custom software source.
- On the Software Sources list page, select the name of the software source. If you need help finding the list page, see Listing Software Sources.
- Under Resources, select Available packages.
-
To add packages, select Add.
-
On the Add packages panel, select how to identify packages:
- Select from the list of available packages. Then, optionally limit the list to latest versions only. Select the packages from the list.
- Provide package list. Then, select to either Upload or Paste the package list. See Package List Format.
- Select Add.
-
On the Add packages panel, select how to identify packages:
- To remove a package, select the package and select Remove.
Use the oci os-management-hub software-source add-packages command and required parameters to add packages to a custom software source.
oci os-management-hub software-source add-packages --software-source-id ocid --packages packages.json [OPTIONS]
Use the oci os-management-hub software-source remove-packages command and required parameters to remove packages from a custom software source.
oci os-management-hub software-source remove-packages --software-source-id ocid --packages packages.json [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the AddPackagesToSoftwareSource operation to add packages to a custom software source.
Run the RemovePackagesFromSoftwareSource operation to remove packages from a custom software source.