parent
d24eb62df1
commit
d594bb532e
1 changed files with 3 additions and 3 deletions
6
cd.sh
6
cd.sh
|
@ -47,7 +47,7 @@ local text="${2}"
|
||||||
function cd_set_dns_resolving {
|
function cd_set_dns_resolving {
|
||||||
local server
|
local server
|
||||||
local text=''
|
local text=''
|
||||||
cd_step "set name servers"
|
cd_step "${FUNCNAME}"
|
||||||
for server in "${CD_DNS_SERVERS[@]}" ; do
|
for server in "${CD_DNS_SERVERS[@]}" ; do
|
||||||
text+="nameserver ${server}
|
text+="nameserver ${server}
|
||||||
"
|
"
|
||||||
|
@ -57,7 +57,7 @@ local text=''
|
||||||
}
|
}
|
||||||
|
|
||||||
function cd_set_packages_repositories {
|
function cd_set_packages_repositories {
|
||||||
cd_step "configure package repositories"
|
cd_step "${FUNCNAME}"
|
||||||
case "${CD_OS_NAME}" in
|
case "${CD_OS_NAME}" in
|
||||||
'debian')
|
'debian')
|
||||||
cd_write '/etc/apt/sources.list' "\
|
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 {
|
function cd_set_packages_configuration {
|
||||||
cd_step "configure package manager"
|
cd_step "${FUNCNAME}"
|
||||||
case "${CD_OS_NAME}" in
|
case "${CD_OS_NAME}" in
|
||||||
'debian')
|
'debian')
|
||||||
cd_write '/etc/apt/apt.conf.d/apt.conf' "\
|
cd_write '/etc/apt/apt.conf.d/apt.conf' "\
|
||||||
|
|
Loading…
Reference in a new issue