Martin's change

This commit is contained in:
Tim Schumacher 2025-05-09 09:23:20 +02:00
parent 0cdd5f371b
commit ec2c61b308
2 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ function secret_sync_gitlab_token() {
fi
# Create a temporary directory for Secret Sync that is valid per boot
secret_sync_tempdir="/tmp/secret-sync.boot-$(cat /proc/sys/kernel/random/boot_id)"
secret_sync_tempdir="/tmp/bridgehead/secret-sync.boot-$(cat /proc/sys/kernel/random/boot_id)"
mkdir -p $secret_sync_tempdir
# Use Secret Sync to validate the GitLab token in $secret_sync_tempdir/cache.

View File

@ -2,7 +2,7 @@
[ "$1" = "get" ] || exit
source "/tmp/secret-sync.boot-$(cat /proc/sys/kernel/random/boot_id)/gitlab-token"
source "/tmp/bridgehead/secret-sync.boot-$(cat /proc/sys/kernel/random/boot_id)/gitlab-token"
# Any non-empty username works, only the token matters
cat << EOF