open-balena-api
open-balena-api copied to clipboard
Allow setting config variables with a colon : in the name
Per https://www.raspberrypi.org/documentation/computers/configuration.html#setting-a-specific-hdmi-mode a user should be able to target a specific hdmi output with configs like: hdmi_force_hotplug:1=1
but the API rejects keys with a colon in them stating "Environment variables should start with a letter and only contain letters, digits and underscores."
Example..try and set the following: name: BALENA_HOST_CONFIG_hdmi_force_hotplug:1 value: 1
A user mentioned this issue in a Supervisor issue: https://github.com/balena-os/balena-supervisor/issues/1573#issuecomment-899847391
[20k-ultra] This issue has attached support thread https://jel.ly.fish/e1f32a51-9ca4-4bfa-8346-fdf8a8a7961e
[pipex] This issue has attached support thread https://jel.ly.fish/e0a664dc-6990-4e41-b047-f4541b0fff49
[pipex] This has attached https://jel.ly.fish/c9220173-b1a1-468d-8079-0606eb1d8cb9