Detaching Software Sources from an Instance
Detach a software source from an Oracle Linux instance in OS Management Hub to make the content unavailable.
Navigate
- Navigate to the Instances list page.
- Select the compartment.
- Select the name of the instance.
Select software sources to detach
Add basic details
Enter the details for 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 job. Avoid entering confidential information.
-
Description: (Optional) Enter a description for the job. Avoid entering confidential information.
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 detach sources
Verify the job details, and then click Detach.
Click the View jobs notification to monitor the status of the software source detachment job.
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.