Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos 6 Scaled Version MDE Installer #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions linux/installation/mde_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#
#============================================================================

SCRIPT_VERSION="0.5.4"
SCRIPT_VERSION="0.5.5"
ASSUMEYES=
CHANNEL=insiders-fast
DISTRO=
Expand Down Expand Up @@ -670,8 +670,11 @@ remove_mdatp()
scale_version_id()
{
### We dont have pmc repos for rhel versions > 7.4. Generalizing all the 7* repos to 7 and 8* repos to 8
### Support for CentOS 6 added https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/linux-whatsnew?view=o365-worldwide#1014513-30121082145130
if [ "$DISTRO_FAMILY" == "fedora" ]; then
if [[ $VERSION == 7* ]] || [ "$DISTRO" == "amzn" ]; then
if [[ $VERSION == 6* ]] && [ "$DISTRO" == "centos" ]; then
SCALED_VERSION=6
elif [[ $VERSION == 7* ]] || [ "$DISTRO" == "amzn" ]; then
SCALED_VERSION=7
elif [[ $VERSION == 8* ]] || [ "$DISTRO" == "fedora" ]; then
SCALED_VERSION=8
Expand Down