This commit is contained in:
Marc Beninca 2024-09-01 19:31:30 +02:00
parent 31e2875965
commit f33bc6bbab
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -202,6 +202,15 @@ _spcd_txt_pick() {
spcd_dns() { spcd_dns() {
local index name value local index name value
case "${1}" in 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") "write")
local text local text
while true; do while true; do
@ -454,6 +463,7 @@ SPCD_PM_ZYPPER="zypper"
# ╰──────┴─────────────╯ # ╰──────┴─────────────╯
spcd_step__environment_defaults_print() { spcd_step__environment_defaults_print() {
spcd_dns "list"
set -- \ set -- \
\ \
\ \