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

mde_installer.sh does not differentiate between supported Amazon Linux 2 & Unsupported Amazon Linux AMI 2018 #80

Open
drscript0x0 opened this issue Mar 9, 2023 · 0 comments

Comments

@drscript0x0
Copy link

mde_installer.sh is currently not differentiating between the supported Amazon Linux 2 distro and the unsupported Amazon Linux AMI 2018 distro. Would like to see it return the error about unsupported distro whenever this gets runs against an old Amazon Linux AMI 2018 server.

Currently, it looks like the code only checks the $ID variable within the /etc/os-release file which would be "amzn" in either case. In the same file there is a $VERSION_ID variable that will have something like "2018.03" in the case of Amazon Linux AMI 2018 instead of "2" for Amazon Linux 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant