resolv
This commit is contained in:
parent
2995362c3d
commit
d22986d284
1 changed files with 2 additions and 3 deletions
|
@ -592,10 +592,9 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
|
||||||
spcd_split
|
spcd_split
|
||||||
spcd_os_printenv "SPCD_OS_ID" "SPCD_OS_VERSION"
|
spcd_os_printenv "SPCD_OS_ID" "SPCD_OS_VERSION"
|
||||||
# universal
|
# universal
|
||||||
SPCD_DNS_FILE="/etc/resolv.conf"
|
|
||||||
SPCD_PYTHON_ALIAS="python3"
|
SPCD_PYTHON_ALIAS="python3"
|
||||||
spcd_split
|
spcd_split
|
||||||
spcd_os_printenv "SPCD_DNS_FILE" "SPCD_PYTHON_ALIAS"
|
spcd_os_printenv "SPCD_PYTHON_ALIAS"
|
||||||
# set package manager
|
# set package manager
|
||||||
case "${SPCD_OS_ID}" in
|
case "${SPCD_OS_ID}" in
|
||||||
"${SPCD_OS_ALPINE}")
|
"${SPCD_OS_ALPINE}")
|
||||||
|
@ -853,7 +852,7 @@ spcd_dns() {
|
||||||
nameserver ${spcd_sdr__value}
|
nameserver ${spcd_sdr__value}
|
||||||
"
|
"
|
||||||
done
|
done
|
||||||
spcd_os_write "${SPCD_DNS_FILE}" "${spcd_sdr__text}"
|
spcd_os_write "/etc/resolv.conf" "${spcd_sdr__text}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ╭───────┬──────────╮
|
# ╭───────┬──────────╮
|
||||||
|
|
Loading…
Reference in a new issue