summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/setup_executor_env.sh
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2022-10-19 17:07:39 +0000
committerDave Wallace <dwallacelf@gmail.com>2022-10-19 17:07:39 +0000
commit8692d97f1688b603c39ae6a1faf2655d4f27762f (patch)
treec67470ec5098c8467226079bd1506cc1ec03080a /jjb/scripts/setup_executor_env.sh
parent672f06dd9d8a2b0b4c536e70d71c40bb85d720f4 (diff)
Revert "Set FDIONOMAD container hostname with job and node info."
This reverts commit 672f06dd9d8a2b0b4c536e70d71c40bb85d720f4. Reason for revert: JCasC is not happy with this. Change-Id: I906053a454cbaaaf2a4cbf6f87bb258e25e8b034 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'jjb/scripts/setup_executor_env.sh')
-rwxr-xr-xjjb/scripts/setup_executor_env.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jjb/scripts/setup_executor_env.sh b/jjb/scripts/setup_executor_env.sh
index 11de12cf..4d3cb6ec 100755
--- a/jjb/scripts/setup_executor_env.sh
+++ b/jjb/scripts/setup_executor_env.sh
@@ -30,6 +30,7 @@ echo "$long_line"
echo "Executor Runtime Attributes:"
echo "OS: $OS_ID-$OS_VERSION_ID"
echo "Arch: $OS_ARCH"
+echo "Nomad Hostname: $(grep search /etc/resolv.conf | cut -d' ' -f2 | head -1)"
echo "Container ID: $(hostname)"
echo "$long_line"