Only use shortened hostname

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-07-06 14:19:34 +02:00
parent 01a2dce686
commit 3e70f15450
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -18,7 +18,7 @@ if ! (vault token-lookup 1>/dev/null 2>&1); then
[ -f ${HOME}/bin/vault-user-token ] || downloadVaultUserToken
( test "$(${HOME}/bin/vault-user-token --version)" == "vault-user-token ${VAULT_USER_TOKEN_VERSION}" ) || downloadVaultUserToken
${HOME}/bin/vault-user-token &
${HOME}/bin/vault-user-token --full-hostname=false &
VUT=$!
echo "Waiting for token to become available"