[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 15/16: add check for DNS_HOST
From: |
gnunet |
Subject: |
[taler-grid5k] 15/16: add check for DNS_HOST |
Date: |
Tue, 23 Nov 2021 19:22:32 +0100 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository grid5k.
commit 3aec4e298db42711a5c0f2b73b442ec85e2b5d1f
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Tue Nov 23 19:21:00 2021 +0100
add check for DNS_HOST
---
experiment/scripts/monitor.sh | 1 +
experiment/scripts/setup.sh | 10 ++++++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/experiment/scripts/monitor.sh b/experiment/scripts/monitor.sh
index 16c7199..f003a32 100755
--- a/experiment/scripts/monitor.sh
+++ b/experiment/scripts/monitor.sh
@@ -2,6 +2,7 @@
set -ex
source ~/scripts/helpers.sh
+source ~/.env
if [[ "$1" == "init" ]];
then
diff --git a/experiment/scripts/setup.sh b/experiment/scripts/setup.sh
index e8a6c10..1021cb8 100644
--- a/experiment/scripts/setup.sh
+++ b/experiment/scripts/setup.sh
@@ -1,12 +1,18 @@
#!/bin/bash
# Setup nodes for the experiment
-set -euax
+set -eua
echo "G5K_USER=$(cat ~/experiment-info.json | jq -r '.user.name')" >> ~/.env
source ~/.env
# Add the environment config for following shells
-cat ~/.env | tee -a /etc/environment
+cat ~/.env | grep -v API_KEY | tee -a /etc/environment
+
+set -x
+
+if [[ "${DNS_HOST}" != *-*.*.grid5000.fr ]]; then
+ echo "DNS_HOST must be set completely!"
+fi
LOG_DIR=/home/${G5K_USER}/taler-logs
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] 09/16: dynamic dns zone, (continued)
- [taler-grid5k] 09/16: dynamic dns zone, gnunet, 2021/11/23
- [taler-grid5k] 03/16: add plotting script and better documentation, gnunet, 2021/11/23
- [taler-grid5k] 06/16: test with dns in grid, gnunet, 2021/11/23
- [taler-grid5k] 08/16: update bind config, gnunet, 2021/11/23
- [taler-grid5k] 07/16: update bind config, gnunet, 2021/11/23
- [taler-grid5k] 16/16: DNS included in experiment, gnunet, 2021/11/23
- [taler-grid5k] 05/16: fix env description, gnunet, 2021/11/23
- [taler-grid5k] 14/16: add merchant to prometheus, gnunet, 2021/11/23
- [taler-grid5k] 13/16: use global forwarders, gnunet, 2021/11/23
- [taler-grid5k] 12/16: move logs automatically to nfs, gnunet, 2021/11/23
- [taler-grid5k] 15/16: add check for DNS_HOST,
gnunet <=
- [taler-grid5k] 11/16: switch to in experiment dns for simplicity, gnunet, 2021/11/23
- [taler-grid5k] 10/16: install bind, gnunet, 2021/11/23