From 02b2e9e627bd8b03abd211ae9e71f8e259d74e78 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Wed, 13 Nov 2024 15:27:57 +0100 Subject: [PATCH] feat: expose /home/masa to the enclave (#10) Signed-off-by: mudler --- .gitignore | 1 + tee/masa-tee-worker.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/.gitignore b/.gitignore index 8c8f9f5..f8b7192 100644 --- a/.gitignore +++ b/.gitignore @@ -74,5 +74,6 @@ snippets.txt dist/ bp-todo.md +.masa/ # TEE tee/private.pem diff --git a/tee/masa-tee-worker.json b/tee/masa-tee-worker.json index 066b520..dad9644 100644 --- a/tee/masa-tee-worker.json +++ b/tee/masa-tee-worker.json @@ -10,12 +10,26 @@ { "target": "/tmp", "type": "memfs" + }, + { + "source": "/home/masa/", + "target": "/home/masa/", + "type": "hostfs", + "readOnly": false } ], "env": [ { "name": "LANG", "fromHost": true + }, + { + "name": "PWD", + "value": "/home/masa" + }, + { + "name": "HOME", + "fromHost": true } ], "files": [