Skip to content

Commit

Permalink
Merge pull request #793 from enriquebelarte/fix-bootc-script
Browse files Browse the repository at this point in the history
Fix intel bootc script variable
  • Loading branch information
rhatdan authored Sep 24, 2024
2 parents 773b899 + 4f91c5a commit 1e3999d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion training/intel-bootc/scripts/os_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/ && \
Expand Down

0 comments on commit 1e3999d

Please sign in to comment.