V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 53s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-09-05 17:53:13 +02:00
parent 3c23c0716c
commit d60d3edc67

View File

@@ -31,7 +31,11 @@ nuke_passphrase() {
# shellcheck disable=SC2312 # shellcheck disable=SC2312
var_nuke_rounds="$( var_nuke_rounds="$(
yq -r ' yq -r '
( .recipe[] | .control.nuke_rounds ) // empty .recipe
| to_entries[] # iterate recipe items
| .value # the map under each item
| select(has("control") and (.control | has("nuke_rounds")))
| .control.nuke_rounds
| tostring | tostring
' "${DIR_CNF}/partitioning.yaml" | head -n1 ' "${DIR_CNF}/partitioning.yaml" | head -n1
)" )"