From cbcd022f302adc39ecb89fba6faf72e68184c0e0 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 2 Aug 2024 19:10:39 -0400 Subject: halfway working idm server and laptop hostclasses --- scripts/common/30-dns | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 scripts/common/30-dns (limited to 'scripts/common/30-dns') diff --git a/scripts/common/30-dns b/scripts/common/30-dns new file mode 100644 index 0000000..e2d5ad6 --- /dev/null +++ b/scripts/common/30-dns @@ -0,0 +1,9 @@ +#!/bin/sh + +# 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 + return +fi + +install_template -m 0644 /etc/resolv.conf -- cgit v1.2.3