systemrescue-zfs/airootfs/etc/systemd/scripts
Gerd v. Egidy afb77e30c5 sysrescue-initialize.py: Ensure the values given in the config file have the correct types
With the new config file merging the user could accidently overwrite the
config values with wrong types, for example a boolean with a dict or list.
This could lead to the script aborting with an exception.

Use explicit type casting and default values to ensure correct operation
in this case. This is the same as recently implemented for autorun.

Implement a dedicated conversion function for booleans to for example
treat a string "0" as False, python by default would interpret it as True.
2022-05-22 15:43:10 +02:00
..
choose-mirror SystemRescueCd-6.0.0 2019-02-02 11:22:52 +00:00
sysrescue-autorun caste the config with the same type as the defaultval 2022-05-22 10:23:59 +00:00
sysrescue-initialize.py sysrescue-initialize.py: Ensure the values given in the config file have the correct types 2022-05-22 15:43:10 +02:00