From c4a6b772315a7ed1661983060c2685f20dcc3493 Mon Sep 17 00:00:00 2001 From: Jan Skiba Date: Thu, 16 Nov 2023 14:21:19 +0100 Subject: [PATCH] Setup hostname earlier --- bridgehead | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridgehead b/bridgehead index 2740209..a1cb708 100755 --- a/bridgehead +++ b/bridgehead @@ -50,6 +50,7 @@ loadVars() { source /etc/bridgehead/$PROJECT.local.conf || fail_and_report 1 "Found /etc/bridgehead/$PROJECT.local.conf but failed to import" fi fetchVarsFromVaultByFile /etc/bridgehead/$PROJECT.conf || fail_and_report 1 "Unable to fetchVarsFromVaultByFile" + setHostname [ -e ./$PROJECT/vars ] && source ./$PROJECT/vars set +a @@ -64,7 +65,6 @@ loadVars() { OVERRIDE+=" -f ./$PROJECT/docker-compose.override.yml" fi detectCompose - setHostname setupProxy # Set some project-independent default values