microsoft / mdatp-xplat

Microsoft Defender for macOS/Linux - config samples, auxiliary tools
MIT License
187 stars 188 forks source link

updated mde_installer script in case of mariner distro #120

Closed sudharsansrikanthan closed 8 months ago

sudharsansrikanthan commented 8 months ago

In case of the mariner vm, running the installer script automatically configures the preview-repo to install mdatp, which inturn affects the mariner vm, because its starts to get preview-repo versions of other packages too while updating.

With my change it is made sure in case of mariner distro, mde installation from extras-preview repo happens only when no channel is specified in the installer script. If the installer script is run with prod channel as option then it tries to get mdatp from the extras repo.(mdatp not available here as of now, so installation expected to fail).