Adding Packages to a Group

Add packages to the group manifest to install them on all instances in a group in Autonomous Linux.

Tip

Need to only install on a single instance in the group? See Installing Packages on an Instance.

  • Select how to add packages

    Tip

    Installing packages from a third-party or private source? You must use Option 2: Add packages by name. See also Supported Actions with Third-Party and Private Sources.

    • Option 1: Select Add packages. This option allows you to select from a list of available packages.

    • Option 2: Select Add packages by name. This option must be used for packages provided by third-party or private software sources.

    Add basic details

    Provide the basic information for the job:

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

    Select packages

    • If selecting from a list of available packages, the list only shows the latest package versions. Use the search box to find a specific package. For older versions, clear the Latest only option.

    • If providing a package list, add a list of packages using name, NVRA, or NEVRA format. See Package List Format.

    Schedule job

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

    Review and Add

    Review the details of the job. Make any changes as needed, and then select Add.

    View the job in the Groups details page.

  • Use the oci os-management-hub managed-instance-group install-packages command and required parameters to install packages on the instances that are members of a group.

    oci os-management-hub managed-instance-group install-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 InstallPackagesOnManagedInstanceGroup operation to install packages on the instances that are members of a group.