kairos-sdk/machine
Itxaka e50888d054
Fix parsing cmdline when keys have a dash (#73)
* Fix parsing cmdline when keys have a dash

If a key has a dash we need to add quotes to it before parsing it with
gojq, otherwise it will fail AND the full cmdline will not be parsed!

Signed-off-by: Itxaka <itxaka@kairos.io>

* Actualizar bootcmdline_test.go

---------

Signed-off-by: Itxaka <itxaka@kairos.io>
2024-03-18 17:28:31 +01:00
..
openrc Adapt machine to new sdk paths and format 2023-03-17 14:00:02 +01:00
systemd Adapt machine to new sdk paths and format 2023-03-17 14:00:02 +01:00
bootcmdline_test.go Fix parsing cmdline when keys have a dash (#73) 2024-03-18 17:28:31 +01:00
bootcmdline.go Adapt machine to new sdk paths and format 2023-03-17 14:00:02 +01:00
machine_suite_test.go Adapt machine to new sdk paths and format 2023-03-17 14:00:02 +01:00
machine.go Adapt machine to new sdk paths and format 2023-03-17 14:00:02 +01:00
network.go Adapt machine to new sdk paths and format 2023-03-17 14:00:02 +01:00
partitions.go Adapt machine to new sdk paths and format 2023-03-17 14:00:02 +01:00