Skip to content

Commit

Permalink
add git user and mail to postCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
ankudinov committed May 5, 2024
1 parent f059f3c commit cc3cb5a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker
if ${GIT_INIT}; then
cd ${CONTAINERWSF}
git init
git config --global --add safe.directory ${PWD}
git config --add safe.directory ${PWD}
if [ -z "$(git config user.name)" ]; then git config user.email "[email protected]"; fi
if [ -z "$(git config user.email)" ]; then git config user.name "Lab User"; fi
git add .
git commit -m "git init"
fi

0 comments on commit cc3cb5a

Please sign in to comment.