V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 53s
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:
@@ -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
|
||||||
)"
|
)"
|
||||||
|
|||||||
Reference in New Issue
Block a user