Revert "Set FDIONOMAD container hostname with job and node info."
[ci-management.git] / jjb / scripts / setup_executor_env.sh
index 11de12c..4d3cb6e 100755 (executable)
@@ -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"