From a77862a50fa1086f466fa8a6a422a7bacce51b62 Mon Sep 17 00:00:00 2001 From: Manoj Kumar Yadav Date: Wed, 5 Mar 2025 16:21:51 +0000 Subject: [PATCH 1/2] fix devconatiner permission issue Signed-off-by: Manoj Kumar Yadav --- .devcontainer/devcontainer.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 195a0e217..966e9dba8 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,8 +17,9 @@ "--device=/dev/kvm" ], - // Use 'postCreateCommand' to run commands after the container is created - "postCreateCommand": "bash .devcontainer/setup.sh", + // use postCreateCoomand for additional setup commands + // this is run after the container is created and the user has been added + "postStartCommand": "bash .devcontainer/setup.sh", "customizations": { "vscode": { From ed252c0d77a3721b946b627744e6d1257dcafc49 Mon Sep 17 00:00:00 2001 From: Manoj Kumar Yadav Date: Wed, 5 Mar 2025 16:58:49 +0000 Subject: [PATCH 2/2] suggestion updated Signed-off-by: Manoj Kumar Yadav --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 966e9dba8..24db69ed6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,7 +17,7 @@ "--device=/dev/kvm" ], - // use postCreateCoomand for additional setup commands + // use `postStartCommand` for additional setup commands // this is run after the container is created and the user has been added "postStartCommand": "bash .devcontainer/setup.sh",