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. Open the navigation menu and click Observability & Management. Under OS Management Hub, click Groups.
    2. Under List scope, select the compartment that contains the group you're interested in.
    3. Click the name of the group.
    4. Under Resources, click Group Manifest.
    5. On the Group packages tab, select the packages to remove.
      Tip

      Use the search box to find a specific package.
    6. Click Remove packages.
    7. 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 instance. 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. Click 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: Click to 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.

    8. Click 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.