Skip to content

Commit 95d49a5

Browse files
authored
Merge pull request #912 from buildkite/keithduncan/finish-git-lfs
Finish the git lfs install as the buildkite-agent user
2 parents 0eef5d8 + 4153b8e commit 95d49a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packer/linux/conf/bin/bk-install-elastic-stack.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ if [[ -n "${BUILDKITE_AUTHORIZED_USERS_URL}" ]] ; then
170170
/etc/cron.hourly/authorized_keys
171171
fi
172172

173+
# Finish git lfs install
174+
su buildkite-agent -l -c 'git lfs install'
175+
173176
if [[ -n "${BUILDKITE_ELASTIC_BOOTSTRAP_SCRIPT}" ]] ; then
174177
/usr/local/bin/bk-fetch.sh "${BUILDKITE_ELASTIC_BOOTSTRAP_SCRIPT}" /tmp/elastic_bootstrap
175178
bash < /tmp/elastic_bootstrap

0 commit comments

Comments
 (0)