Detaching Software Sources from an Instance

Detach a software source from an instance in Autonomous Linux to make the content unavailable.

Important

If an instance is a member of a group, you can't change its contents directly. Instead, manage its content through its associated group.
    1. Open the navigation menu and click Observability & Management. Under Autonomous Linux, click Instances.
    2. Under List scope, select the compartment that contains the instance.
    3. Click the name of the instance.
    4. Under Resources, click Software Sources.
    5. Select the software sources to detach from the instance, and then click Detach.
      Tip

      Use the search box to find a specific software source.
    6. Define the job that detaches the software sources:

      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.

    7. Click Detach.
  • Use the oci os-management-hub managed-instance detach-software-sources command and required parameters to remove a software source from a managed instance.

    oci os-management-hub managed-instance detach-software-source --managed-instance-id ocid --software-sources software-source-ocids [OPTIONS]

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

  • Run the DetachSoftwareSourcesFromManagedInstance operation to remove a software source from an instance.