From 30cf20c28db6416ae1345e2635ba8d2c653a8ade Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 10 Aug 2024 19:09:26 +0200 Subject: [PATCH] bundles/c3voc-addons: add action:apt_execute_update_commands --- bundles/c3voc-addons/items.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bundles/c3voc-addons/items.py b/bundles/c3voc-addons/items.py index 709b10e..cd7612b 100644 --- a/bundles/c3voc-addons/items.py +++ b/bundles/c3voc-addons/items.py @@ -7,9 +7,6 @@ supported_os = { 12: 'bookworm', 99: 'unstable', }, - 'raspbian': { - 10: 'buster', - }, } try: @@ -82,6 +79,10 @@ actions = { 'triggered': True, 'cascade_skip': False, }, + 'apt_execute_update_commands': { + 'command': ' && '.join(sorted(node.metadata.get('apt/additional_update_commands', {'true'}))), + 'triggered': True, + }, } directories = {