diff --git a/apps/rego-tunnel/build/start-vm.sh b/apps/rego-tunnel/build/start-vm.sh index 295ae34..bec82b7 100755 --- a/apps/rego-tunnel/build/start-vm.sh +++ b/apps/rego-tunnel/build/start-vm.sh @@ -26,7 +26,7 @@ sleep 2 TAP_NAME="${TAP_NAME:-tap0}" # Optional: provide a dedicated 9p export for host app-data (bind-mounted into the container at /shared/app-data) -TSCLIENT_PATH="/shared/app-data" +TSCLIENT_PATH="/hostshare" TSCLIENT_TAG="${TSCLIENT_TAG:-TSCLIENT}" exec qemu-system-x86_64 \ diff --git a/apps/rego-tunnel/docker-compose.json b/apps/rego-tunnel/docker-compose.json index 7484dd1..71e6ddf 100755 --- a/apps/rego-tunnel/docker-compose.json +++ b/apps/rego-tunnel/docker-compose.json @@ -51,7 +51,7 @@ }, { "key": "TSCLIENT", - "value": "${TSCLIENT:-/hostshare}" + "value": "${TSCLIENT:-${APP_DATA_DIR}/hostshare}" } ], "internalPort": 8006, @@ -72,7 +72,7 @@ }, { "hostPath": "${TSCLIENT}", - "containerPath": "/shared/app-data", + "containerPath": "/hostshare", "readOnly": false, "shared": false, "private": false