File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ port = 9300
4747EOF
4848
4949# Download Guest OS images
50- DSTACK_VERSION=0.4.2
50+ DSTACK_VERSION=0.5.1
5151wget " https://github.com/Dstack-TEE/meta-dstack/releases/download/v${DSTACK_VERSION} /dstack-${DSTACK_VERSION} .tar.gz"
5252mkdir -p images/
5353tar -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
8585cd dstack/kms/dstack-app/
86- ./deploy-to-vmm.sh
86+ ./deploy-to-vmm.sh
8787```
8888It will create a template ` .env ` file. Edit the ` .env ` file and set the required variables.
8989Especially 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
9293VMM_RPC=unix:../../vmm-data/vmm.sock
@@ -95,7 +96,8 @@ KMS_RPC_ADDR=0.0.0.0:9201
9596GUEST_AGENT_ADDR=127.0.0.1:9205
9697ETH_RPC_URL=https://rpc.phala.network
9798GIT_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
101103Then run the script again.
@@ -221,7 +223,7 @@ MY_URL=https://gateway.test2.dstack.phala.network:9202
221223BOOTNODE_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
227229GIT_REV=HEAD
You can’t perform that action at this time.
0 commit comments