From 126d3c3cde1434f4f4b3b78a4995a05502cdb09b Mon Sep 17 00:00:00 2001 From: ptitdoc Date: Fri, 7 Jan 2022 10:53:57 +0100 Subject: [PATCH] Enable Kali 2021 --- bootstrap-salt.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 6a9168a..874547d 100644 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1488,6 +1488,7 @@ __debian_derivatives_translation() { devuan_1_debian_base="8.0" devuan_2_debian_base="9.0" kali_1_debian_base="7.0" + kali_2021_debian_base="10.0" linuxmint_1_debian_base="8.0" raspbian_8_debian_base="8.0" raspbian_9_debian_base="9.0" @@ -3771,6 +3772,13 @@ install_debian_git_post() { done } +install_debian_2021_post() { + # Kali 2021 (debian derivative) disables all network services by default + # Using archlinux post function to enable salt systemd services + install_arch_linux_post || return 1 + return 0 +} + install_debian_restart_daemons() { [ "$_START_DAEMONS" -eq $BS_FALSE ] && return 0