The following files are removed from /opt/omi/lib
libMSFT_nxArchiveResource.so
libMSFT_nxEnvironmentResource.so
libMSFT_nxFileLineResource.so
libMSFT_nxFileResource.so
libMSFT_nxScriptResource.so
libMSFT_nxSshAuthorizedKeysResource.so
Run omsagent bundle with --remove (this will persist all user data including conf, onboarding info, certs on the system and would not remove that), to delete old dsc, omi, scx and omsagent code base only.This step also takes into account that omi can be used by other agents such as SCOM in that case --remove will skip removing omi component.
run omsagent bundle with --upgrade to upgrade the agent code base to be the latest , this will bring new version of dsc providers and omi.
The following steps causes DSC to stop working on a VM 1) Install OMI 1.0.8 (This is installed as part of SCX provider install) 2) Install DSC V1.1.1.-70 from here https://github.com/Microsoft/PowerShell-DSC-for-Linux/releases/tag/v1.1.1-70 3) Install OMSAgent extension for Linux – Version 1.4
The following files are removed from /opt/omi/lib libMSFT_nxArchiveResource.so libMSFT_nxEnvironmentResource.so libMSFT_nxFileLineResource.so libMSFT_nxFileResource.so libMSFT_nxScriptResource.so libMSFT_nxSshAuthorizedKeysResource.so
More details on https://github.com/Microsoft/OMS-Agent-for-Linux/issues/549