From 4f91c5aebb4d543312ad9855c8e3116088056f7f Mon Sep 17 00:00:00 2001 From: Enrique Belarte Luque Date: Tue, 24 Sep 2024 06:10:43 -0500 Subject: [PATCH] Fix intel bootc script variable Signed-off-by: Enrique Belarte Luque --- training/intel-bootc/scripts/os_dependencies.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/training/intel-bootc/scripts/os_dependencies.sh b/training/intel-bootc/scripts/os_dependencies.sh index 40af3c9e..74aefd3a 100644 --- a/training/intel-bootc/scripts/os_dependencies.sh +++ b/training/intel-bootc/scripts/os_dependencies.sh @@ -19,7 +19,8 @@ OS=$(grep -w ID /etc/os-release) echo "OS line is $OS" if [[ "$OS" == *"rhel"* ]]; then \ mkdir -p /tmp/git && cd /tmp/git && \ - git clone https://dummy_user:${BUILDERS_TOKEN}@gitlab.com/${REPOS_REPO} && \ + GIT_TOKEN=$(cat /run/secrets/extra-secrets-intel-bootc/BUILDERS_TOKEN) && \ + git clone https://dummy_user:${GIT_TOKEN}@gitlab.com/${REPOS_REPO} && \ cd builder/repos && \ cp redhat.repo rhelai.repo habanalabs.repo /etc/yum.repos.d/ && \ cp RPM-GPG-KEY-HABANALABS /etc/pki/rpm-gpg/ && \