Adding Packages to 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 packages to an existing custom software source by providing a package list.
- Formatting of the package list
-
You can run
rpm -qa
on a reference instance to collect a package list. For example, the format of the packages is:pam-1.3.1-27.el8.x86_64 openssl-libs-1.1.1k-12.el8_9.x86_64 libreport-filesystem-2.9.5-15.0.4.el8.x86_64
Use the oci os-management-hub software-source add 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]
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.