Skip to content

Commit

Permalink
Merge pull request #841 from dmbaturin/T6903-configurable-vyos-1x
Browse files Browse the repository at this point in the history
build: T6903: allow passing vyos-1x repo path in an environment variable
  • Loading branch information
jestabro authored Nov 21, 2024
2 parents ab588e4 + ae58203 commit 8237591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/image-build/build-vyos-image
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ except Exception as e:
# Checkout vyos-1x under build directory
try:
branch_name = build_defaults['vyos_branch']
url_vyos_1x = 'https://github.com/vyos/vyos-1x'
url_vyos_1x = os.getenv('VYOS1X_REPO_URL', default='https://github.com/vyos/vyos-1x')
path_vyos_1x = os.path.join(defaults.BUILD_DIR, 'vyos-1x')
try:
repo_vyos_1x = git.Repo.clone_from(url_vyos_1x, path_vyos_1x, no_checkout=True)
Expand Down

0 comments on commit 8237591

Please sign in to comment.