diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-08-02 19:10:39 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-08-02 19:10:39 -0400 |
commit | cbcd022f302adc39ecb89fba6faf72e68184c0e0 (patch) | |
tree | a5ab154e08fa3c4fa110b09d3475736c66840c8b /scripts/common/30-dns | |
parent | ceb339370d7a0cc4a83fe54103a650dfb3f72261 (diff) | |
download | infrastructure-cbcd022f302adc39ecb89fba6faf72e68184c0e0.tar.gz |
halfway working idm server and laptop hostclasses
Diffstat (limited to 'scripts/common/30-dns')
-rw-r--r-- | scripts/common/30-dns | 9 |
1 files changed, 9 insertions, 0 deletions
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 |