From f50bf538158c5bf11b40fed7b2d6c71955c8214d Mon Sep 17 00:00:00 2001 From: Ben Copeland Date: Tue, 2 Jun 2026 18:54:49 +0100 Subject: [PATCH] jobs: widen the supported device-dict variables Device dicts passed with --device-dict are validated against DEVICE_DICT_VARS, and any variable not in the set is rejected. Signed-off-by: Ben Copeland --- tuxlava/jobs.py | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tuxlava/jobs.py b/tuxlava/jobs.py index d56ddb1..73decfd 100644 --- a/tuxlava/jobs.py +++ b/tuxlava/jobs.py @@ -26,6 +26,8 @@ # Supported device-dict config variables # Update this list when adding new variables to device-dict configs DEVICE_DICT_VARS = { + "action_timeout_bootloader_interrupt", + "action_timeout_power_off", "boot_character_delay", "boot_method", "booti_dtb_addr", @@ -34,25 +36,36 @@ "bootloader_prompt", "connection_command", "console_device", + "docker_cpus", + "docker_memory", "docker_shell_extra_arguments", + "efi_grub", + "efinet", "environment", "extra_kernel_args", "fastboot_auto_detection", "fastboot_options", - "fastboot_serial_number", "fastboot_sequence", + "fastboot_serial_number", "flash_cmds_order", + "flasher_deploy_commands", "grub_needs_interrupt", "hard_reset_command", "interrupt_char", "interrupt_prompt", + "mac_addr", + "memory", + "net_interface", + "netdevice", "power_off_command", "power_on_command", "pre_os_command", "pre_power_command", + "pxe_net_configured", "test_character_delay", "uboot_needs_interrupt", "usbg_ms_commands", + "user_commands", }