-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,10 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker | |
# init demo dir as Git repo if requested for this demo env | ||
if ${GIT_INIT}; then | ||
cd ${CONTAINERWSF} | ||
git config --global --add safe.directory . | ||
git init | ||
git config --global --add safe.directory ${PWD} | ||
if [ -z "$(git config user.name)" ]; then git config user.name "Lab User"; fi | ||
if [ -z "$(git config user.email)" ]; then git config user.email [email protected]; fi | ||
git add . | ||
git commit -m "git init" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,10 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker | |
# init demo dir as Git repo if requested for this demo env | ||
if ${GIT_INIT}; then | ||
cd ${CONTAINERWSF} | ||
git config --global --add safe.directory . | ||
git init | ||
git config --global --add safe.directory ${PWD} | ||
if [ -z "$(git config user.name)" ]; then git config user.name "Lab User"; fi | ||
if [ -z "$(git config user.email)" ]; then git config user.email [email protected]; fi | ||
git add . | ||
git commit -m "git init" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,10 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker | |
# init demo dir as Git repo if requested for this demo env | ||
if ${GIT_INIT}; then | ||
cd ${CONTAINERWSF} | ||
git config --global --add safe.directory . | ||
git init | ||
git config --global --add safe.directory ${PWD} | ||
if [ -z "$(git config user.name)" ]; then git config user.name "Lab User"; fi | ||
if [ -z "$(git config user.email)" ]; then git config user.email [email protected]; fi | ||
git add . | ||
git commit -m "git init" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,10 @@ ardl get eos --image-type cEOS --version ${CEOS_LAB_VERSION} --import-docker | |
# init demo dir as Git repo if requested for this demo env | ||
if ${GIT_INIT}; then | ||
cd ${CONTAINERWSF} | ||
git config --global --add safe.directory . | ||
git init | ||
git config --global --add safe.directory ${PWD} | ||
if [ -z "$(git config user.name)" ]; then git config user.name "Lab User"; fi | ||
if [ -z "$(git config user.email)" ]; then git config user.email [email protected]; fi | ||
git add . | ||
git commit -m "git init" | ||
fi |