diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 8df7a3b..75b8d60 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -202,6 +202,15 @@ _spcd_txt_pick() { spcd_dns() { local index name value case "${1}" in + "list") + while true; do + index=$((index + 1)) + name="SPCD_DNS_${index}" + eval "value=\"\${name}\"" + [ -n "${value}" ] || break + echo "${name} = \"${value}\"" + done + ;; "write") local text while true; do @@ -454,6 +463,7 @@ SPCD_PM_ZYPPER="zypper" # ╰──────┴─────────────╯ spcd_step__environment_defaults_print() { + spcd_dns "list" set -- \ \ \