-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
This error was encountered on a project
In OnCreate script
Permissions of '/dc/azure' are OK!
cliextensions folder found in old .azure folder
cliextensions folder ('/home/vscode/.azure/cliextensions') already exists in but is not a symlink
After some investigation, @cecheta discovered the repro steps:
- build a dev container with azure-cli-persistence
- manually install an
azCLI extension - update the
azure-clifeature to install an extension - rebuild the dev container
At this point, the manually installed extension causes the cliextensions folder to exist in the persistence volume location.
And the extension installed via the azure-cli feature causes the cliextensions folder to exist in the .azure-old location.
That triggers this condition as the feature expects to be able to create a symlink in $HOME/.azure to point cliextensions to the .azure-old folder.
Metadata
Metadata
Assignees
Labels
No labels