From f82572c7153ec1dc6c49df810dd7e56372fc74d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Tue, 19 May 2026 18:20:28 +0200 Subject: [PATCH] feat(orch): add less, nftables, iputils-ping, and jq to base provisioning Include common debugging and inspection tools in the sandbox base image so they are available out of the box: - less: pager for viewing file contents and command output - nftables: modern firewall/packet filtering (alongside existing iptables) - iputils-ping: network connectivity diagnostics - jq: JSON parsing and manipulation --- .../orchestrator/pkg/template/build/phases/base/provision.sh | 2 +- .../internal/tests/api/templates/build_template_test.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/orchestrator/pkg/template/build/phases/base/provision.sh b/packages/orchestrator/pkg/template/build/phases/base/provision.sh index c4c1b934d0..233a95124e 100644 --- a/packages/orchestrator/pkg/template/build/phases/base/provision.sh +++ b/packages/orchestrator/pkg/template/build/phases/base/provision.sh @@ -19,7 +19,7 @@ is_package_installed() { } # Install required packages if not already installed -PACKAGES="systemd systemd-sysv openssh-server sudo chrony socat curl ca-certificates fuse3 iptables git nfs-common" +PACKAGES="systemd systemd-sysv openssh-server sudo chrony socat curl ca-certificates fuse3 iptables git nfs-common less nftables iputils-ping jq" echo "Checking presence of the following packages: $PACKAGES" MISSING="" diff --git a/tests/integration/internal/tests/api/templates/build_template_test.go b/tests/integration/internal/tests/api/templates/build_template_test.go index 16aa43616f..be4990d6de 100644 --- a/tests/integration/internal/tests/api/templates/build_template_test.go +++ b/tests/integration/internal/tests/api/templates/build_template_test.go @@ -1036,6 +1036,10 @@ func TestTemplateBuildInstalledPackagesAvailable(t *testing.T) { "fuse3", "iptables", "git", + "less", + "nftables", + "iputils-ping", + "jq", } steps := make([]api.TemplateStep, 0, len(packages))