fix: refresh DuckDNS during edge deployment
This commit is contained in:
parent
a69b7852b6
commit
702ce23be3
|
|
@ -7968,6 +7968,10 @@ edge_apply() {
|
|||
require_debian_server "edge"
|
||||
|
||||
run_tofu_stack "bootstrap/edge"
|
||||
local edge_host="${TF_VAR_edge_host:-${LAB_EDGE_HOST:-}}"
|
||||
if [[ -n "${edge_host}" ]] && declare -F update_duckdns_edge_ip >/dev/null 2>&1; then
|
||||
update_duckdns_edge_ip "${edge_host}"
|
||||
fi
|
||||
edge_flush_caches
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue