Skip to content

Commit 0385b70

Browse files
committed
docs: address no-TEE guide review
1 parent cffdf2c commit 0385b70

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

docs/development-without-tee.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repository root:
3030
```bash
3131
make os-deps
3232
cd os/yocto/repro-build
33-
RELEASE_FLAVORS="prod dev" ./repro-build.sh -n
33+
RELEASE_FLAVORS="dev" ./repro-build.sh -n
3434
```
3535

3636
The artifact used below is
@@ -45,12 +45,12 @@ jq '{version, git_revision, is_dev}' \
4545
/tmp/dstack-dev-image/dstack-dev-*/metadata.json
4646
```
4747

48-
Expected output includes `"is_dev": true`. The VMM rejects `--no-tee` for a
49-
production image.
48+
Expected output includes `"is_dev": true`. Use a development image for this
49+
workflow because production images do not include `dstack-tee-simulator`.
5050

5151
## Optional: create a nested libvirt host
5252

53-
Skip this section when the development machine already exposes `/dev/kvm`.
53+
Skip this section if you want to set up the environment directly on the host.
5454
The outer host must enable VT-x or AMD-V and load KVM with nested virtualization
5555
enabled.
5656

@@ -120,6 +120,7 @@ Install both binaries and the CLI on the machine that will run QEMU. You can
120120
also run them directly from the checkout during development:
121121

122122
```bash
123+
mkdir -p ~/.dstack-vmm
123124
install -Dm755 dstack/target/release/dstack-vmm ~/.local/bin/dstack-vmm
124125
install -Dm755 dstack/target/release/supervisor ~/.local/bin/supervisor
125126
install -Dm755 dstack/vmm/src/vmm-cli.py ~/.local/bin/dstack
@@ -249,11 +250,6 @@ Loading the LUKS2 header
249250
Device mapper /dev/mapper/dstack_data_disk is ready
250251
```
251252

252-
The LUKS2 header is kept in memory rather than written beside the ciphertext,
253-
so `cryptsetup luksDump hda.img` is not an applicable test. The log establishes
254-
that the guest opened `/dev/mapper/dstack_data_disk` and placed ZFS on that
255-
encrypted mapping rather than on the raw data partition.
256-
257253
Record the instance ID, then perform a graceful restart:
258254

259255
```bash

0 commit comments

Comments
 (0)