From 61923105fec90e94ae2e7beaaa285d0979430dac Mon Sep 17 00:00:00 2001 From: Kris Crawford Date: Mon, 25 Sep 2023 08:15:05 -0400 Subject: [PATCH] Updating dns record --- README.md | 5 +++++ script.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e69de29..03c0746 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,5 @@ +## To add new host to salt + +``` +curl --location --show-error --silent -O https://git.10bit.link/kcrawford/saltBootstrap/raw/branch/main/script.sh && echo '42c50a7bd4a18464057af52dc03d86c1dc998644 script.sh' | sha1sum --check --status && sudo bash ./script.sh +``` diff --git a/script.sh b/script.sh index 59862f8..e2b207b 100644 --- a/script.sh +++ b/script.sh @@ -9,7 +9,7 @@ curl -o /tmp/bootstrap-salt.sh -L https://bootstrap.saltproject.io if [ -e /tmp/bootstrap-salt.sh ]; then bash /tmp/bootstrap-salt.sh; fi # Point minion to master -echo "master: salt-master.local" | tee /etc/salt/minion.d/override.conf +echo "master: salt-master.io" | tee /etc/salt/minion.d/override.conf # Restart minion service systemctl restart salt-minion