From 350c436e4d4914a809e868cb3fba0d900d80dce2 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 19 Jul 2024 19:19:14 +0200 Subject: [PATCH] bundles/apt: add action to execute additional_update_commands --- bundles/apt/items.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/apt/items.py b/bundles/apt/items.py index ede8aae..5d055d3 100644 --- a/bundles/apt/items.py +++ b/bundles/apt/items.py @@ -27,6 +27,10 @@ actions = { 'triggered': True, 'cascade_skip': False, }, + 'apt_execute_update_commands': { + 'command': ' && '.join(sorted(node.metadata.get('apt/additional_update_commands'))), + 'triggered': True, + }, } files = {