OCI : How to Disable the OS Management Service Agent Plugin in Oracle Linux instances
in Linux
APPLIES TO:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
GOAL
How to disable the OS Management service Agent plugin in Oracle Linux instances?
SOLUTION
1. Login to the instance.
2. Run the following "sed" utility script to disable the OS Management Service Agent plugin.
$ sudo sed -i.saved -e '/^ osms:/,/^ [a-z]*:/{s/\(.*disabled:.*\)false/\1true/}' /etc/oracle-cloud-agent/agent.yml
- This will update the osms:configuration in the /etc/oracle-cloud-agent/agent.ymlfile as follows:
Change the value for the disabled:parameter from false to true
3. Restart the Oracle Cloud Agent service:
- For Oracle Linux 7 and Oracle Linux 8:
Tagged:
1