funcname
Some checks failed
/ job (push) Failing after 4s

This commit is contained in:
Marc Beninca 2024-04-26 16:17:49 +02:00
parent d24eb62df1
commit d594bb532e
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

6
cd.sh
View file

@ -47,7 +47,7 @@ local text="${2}"
function cd_set_dns_resolving {
local server
local text=''
cd_step "set name servers"
cd_step "${FUNCNAME}"
for server in "${CD_DNS_SERVERS[@]}" ; do
text+="nameserver ${server}
"
@ -57,7 +57,7 @@ local text=''
}
function cd_set_packages_repositories {
cd_step "configure package repositories"
cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in
'debian')
cd_write '/etc/apt/sources.list' "\
@ -72,7 +72,7 @@ deb https://deb.debian.org/debian-security bookworm-security main
}
function cd_set_packages_configuration {
cd_step "configure package manager"
cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in
'debian')
cd_write '/etc/apt/apt.conf.d/apt.conf' "\