Removing Packages from a Group

Remove packages from the group manifest to make them unavailable to an Oracle Linux group in OS Management Hub.

    1. On the Groups list page, select the name of the group. If you need help finding the list page, see Listing Groups.
    2. Under Resources, select Group Manifest.
    3. On the Group packages tab, select the packages to remove.
      Tip

      Use the search box to find a specific package.
    4. Select Remove packages.
    5. Define the details for the job that will remove the packages:

      Name: Enter a name for the job. The name doesn't need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the job. Avoid entering confidential information.

      Description: (Optional) Enter a description for the job. Avoid entering confidential information.

      Schedule: Choose when to run the job.

      • Run immediately: Select this option to run the job now.
      • Schedule: Select this option to run the job at a future date and time. Select the calendar icon to select a date and time.
        • Automatic Retry: When selected, if the initial execution of the job fails, the service retries the job up three times. Each retry is five minutes apart.
        • Show advanced options: Add tags to this resource.

          If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, ask an administrator or skip this option. You can apply tags later.

    6. Select Remove.
  • Use the oci os-management-hub managed-instance-group remove-packages command and required parameters to remove packages from instances that are members of a specified group.

    oci os-management-hub managed-instance-group remove-packages --group-id ocid --package-names names.json [OPTIONS]

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

  • Run the RemovePackagesFromManagedInstanceGroup operation to remove packages from each managed instance in a specified group.