aboutsummaryrefslogtreecommitdiff
path: root/scripts/common/30-dns
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2025-03-20 13:33:51 -0400
committerCullum Smith <cullum@sacredheartsc.com>2025-03-20 13:33:51 -0400
commitf57c0e04db157bbd82e011c46e240c10d92734a3 (patch)
treef15e78b889401720c1603db11268bbf507b75f23 /scripts/common/30-dns
parent0e6158dc5f0d21f6393a7c99abbdba08eb402372 (diff)
downloadinfrastructure-f57c0e04db157bbd82e011c46e240c10d92734a3.tar.gz
misc updates
Diffstat (limited to 'scripts/common/30-dns')
-rw-r--r--scripts/common/30-dns3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/common/30-dns b/scripts/common/30-dns
index e2d5ad6..1df12ef 100644
--- a/scripts/common/30-dns
+++ b/scripts/common/30-dns
@@ -3,6 +3,9 @@
# For IDM servers, the resolver is localhost. In that case, we delay copying
# this file until the IDM stack is fully up and running.
if [ "$BOXCONF_HOSTCLASS" = idm_server ]; then
+ if [ "${idm_bootstrap:-}" = true ]; then
+ printf 'nameserver %s\n' "$bootstrap_resolvers" > /etc/resolv.conf
+ fi
return
fi