Skip to content

Commit 5261e8b

Browse files
committed
Update deployment doc
1 parent c474cdb commit 5261e8b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/deployment.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ port = 9300
4747
EOF
4848

4949
# Download Guest OS images
50-
DSTACK_VERSION=0.4.2
50+
DSTACK_VERSION=0.5.1
5151
wget "https://github.com/Dstack-TEE/meta-dstack/releases/download/v${DSTACK_VERSION}/dstack-${DSTACK_VERSION}.tar.gz"
5252
mkdir -p images/
5353
tar -xvf dstack-${DSTACK_VERSION}.tar.gz -C images/
@@ -83,10 +83,11 @@ The dstack-vmm is running now. Open another terminal and go to the `kms/dstack-a
8383

8484
```bash
8585
cd dstack/kms/dstack-app/
86-
./deploy-to-vmm.sh
86+
./deploy-to-vmm.sh
8787
```
8888
It will create a template `.env` file. Edit the `.env` file and set the required variables.
8989
Especially the `KMS_CONTRACT_ADDR` variable set to the address of the KmsAuth Proxy contract deployed in the previous step.
90+
The `IMAGE_DOWNLOAD_URL` variable should be set to the URL of the dstack OS image used to verify the mr_image.
9091
```
9192
# .env
9293
VMM_RPC=unix:../../vmm-data/vmm.sock
@@ -95,7 +96,8 @@ KMS_RPC_ADDR=0.0.0.0:9201
9596
GUEST_AGENT_ADDR=127.0.0.1:9205
9697
ETH_RPC_URL=https://rpc.phala.network
9798
GIT_REV=HEAD
98-
OS_IMAGE=dstack-0.4.0
99+
OS_IMAGE=dstack-0.5.1
100+
IMAGE_DOWNLOAD_URL=https://files.kvin.wang/images/mr_{MR_IMAGE}.tar.gz
99101
```
100102

101103
Then run the script again.
@@ -221,7 +223,7 @@ MY_URL=https://gateway.test2.dstack.phala.network:9202
221223
BOOTNODE_URL=https://gateway.test2.dstack.phala.network:9202
222224
223225
# DStack OS image name
224-
OS_IMAGE=dstack-0.4.0
226+
OS_IMAGE=dstack-0.5.1
225227
226228
# Set defaults for variables that might not be in .env
227229
GIT_REV=HEAD

0 commit comments

Comments
 (0)