mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-27 23:18:08 +02:00
Ubuntu 20.04 Support
This commit is contained in:
@@ -3,7 +3,11 @@ saltpymodules:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- python-docker
|
||||
{% if grains['codename'] == 'bionic' %}
|
||||
- python-m2crypto
|
||||
{% elif grains['codename'] == 'focal' %}
|
||||
- python3-m2crypto
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
salt_bootstrap:
|
||||
|
||||
@@ -3082,7 +3082,11 @@ install_ubuntu_git_deps() {
|
||||
__PACKAGES="${__PACKAGES} python3-setuptools"
|
||||
else
|
||||
# There is no m2crypto package for Py3 at this time - only install for Py2
|
||||
if [ $DISTRO_CODENAME == "focal" ]; then
|
||||
__PACKAGES="${__PACKAGES} python3-m2crypto"
|
||||
else
|
||||
__PACKAGES="${__PACKAGES} python-m2crypto"
|
||||
fi
|
||||
fi
|
||||
|
||||
__PACKAGES="${__PACKAGES} python${PY_PKG_VER}-crypto python${PY_PKG_VER}-jinja2"
|
||||
|
||||
Reference in New Issue
Block a user