sahara: install netcat-openbsd on Debian/Ubuntu

By default in both Debian:11 and Ubuntu:22.04 'netcat' means
'netcat-openbsd'.

Debian 'bookworm' 12 will not have such default. So let install proper
package.

Change-Id: I9795fca15aa3e9d59eb686ff749245bf618639cf
This commit is contained in:
Marcin Juszkiewicz 2023-01-20 19:07:14 +01:00
parent 61594f653a
commit 42cf9c34ac

View File

@ -10,7 +10,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_package_type == 'rpm' %}
{% set sahara_engine_packages = ['nc'] %}
{% elif base_package_type == 'deb' %}
{% set sahara_engine_packages = ['netcat'] %}
{% set sahara_engine_packages = ['netcat-openbsd'] %}
{% endif %}
{{ macros.install_packages(sahara_engine_packages | customizable("packages")) }}