From 7143fee7db3ab94894ab9231c8f97271ca982094 Mon Sep 17 00:00:00 2001 From: Roman Dodin Date: Mon, 10 Jun 2024 16:17:30 +0000 Subject: [PATCH] set predefined workspace dir --- .devcontainer/dclab | 2 +- .devcontainer/devcontainer.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/dclab b/.devcontainer/dclab index 2ea1997cb..0073bc97a 100755 --- a/.devcontainer/dclab +++ b/.devcontainer/dclab @@ -1,2 +1,2 @@ #!/bin/bash -/workspaces/containerlab/bin/containerlab "$@" \ No newline at end of file +/clab/bin/containerlab "$@" \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a687bca88..24a4fc0e6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -42,5 +42,7 @@ "zxh404.vscode-proto3" ] } - } + }, + "workspaceMount": "source=${localWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind", + "workspaceFolder": "/clab" } \ No newline at end of file