Closed acgustafson closed 6 years ago
The DISTRO_MAJOR_VERSION
is set before the __debian_derivatives_translation
call.
__debian_derivatives_translation
set the DISTRO_VERSION
but don't set the DISTRO_MAJOR_VERSION
with Debian translated number.
So, when the __check_end_of_life_versions
is called, the major version contain the number of the system.
A simple workaround could be:
if [ "$_debian_version" != "" ]; then
echodebug "Detected Debian $_debian_version derivative"
DISTRO_NAME_L="debian"
DISTRO_VERSION="$_debian_version"
DISTRO_MAJOR_VERSION="$(echo "$DISTRO_VERSION" | sed 's/^\([0-9]*\).*/\1/g')"
fi
in __debian_derivatives_translation
function
Thanks for posting the work around @ymasson. @acgustafson Are you in a position to give that a try? If that works, would either of you like to submit a pull request?
@rallytime , I have include this workaround in my PR #1165 .
Without it, the bootstrap script return "End of life distributions are not supported" for all distributions derived from Debian, with a major release less than 7.
@ymasson Oh, I'm sorry. You are right. I missed that last line you added when I was glancing at it. Thank you for clarifying.
@acgustafson That should resolve this issue for you.
Closed via #1165
@ymasson Thanks a bunch!
Description of Issue/Question
The bootstrap install fails with
* ERROR: End of life distributions are not supported.
when attempting to install on Cumulus Linux 3.4.2 (derivative on Debian 8).Steps to Reproduce Issue
Run
sh boostrap-salt.sh
on Cumulus Linux.Versions and Systems