-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Remove devcontainer mounts to address error 16 with molecule (#3541
- Loading branch information
Showing
2 changed files
with
39 additions
and
33 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 |
---|---|---|
@@ -1,18 +1,16 @@ | ||
{ | ||
"name": "AVD Development", | ||
"mounts": [ | ||
"source=${localWorkspaceFolder}/ansible_collections/arista/avd,target=/home/avd/.ansible/collections/ansible_collections/arista/avd,type=bind" | ||
], | ||
"image": "ghcr.io/aristanetworks/avd/dev:python3.11", | ||
// The AVD collection can also be installed from any git branch. | ||
// Comment mount section if this is the case. | ||
// Uncomment the section below if it's required | ||
// | ||
// "containerEnv": { | ||
// "AVD_GITHUB_REPO": "aristanetworks/avd", | ||
// "AVD_BRANCH_NAME": "devel" | ||
// }, | ||
// Run entrypoint script manually as it's ignored by dev container CLI otherwise. | ||
// The dev entrypoint is used to install Ansible collections and requirements, as they are not included with the dev version. | ||
// "true" is required to exit "onCreateCommand" without entering ZSH. | ||
"onCreateCommand": "/bin/entrypoint.sh true" | ||
// "true" is required to exit "postStartCommand" without entering ZSH. | ||
// the script must be executed ONLY if Ansible is not installed | ||
"postStartCommand": "/bin/entrypoint.sh true" | ||
} |
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