File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11# Script to launch openvino-workbench container
22# OpenVINO DL Workbench Application accessed through web browser with http://<ec2-public-ip>:5665/
33
4- OV_VERSION=2022.1.0
4+ TOKEN=$( curl -X PUT " http://169.254.169.254/latest/api/token" -H " X-aws-ec2-metadata-token-ttl-seconds: 21600" )
5+ INSTANCE_ID=$( curl -H " X-aws-ec2-metadata-token: $TOKEN " http://169.254.169.254/latest/meta-data/instance-id)
6+
7+ OV_DLW_VER=2022.1
8+
59# Remove any existing workbench container
610docker rm workbench
711
812# Start OpenVINO DL Workbench
913/home/ec2-user/.local/bin/openvino-workbench \
10- --image openvino/workbench:$OV_VERSION \
14+ --image openvino/workbench:$OV_DLW_VER \
15+ --custom-token $INSTANCE_ID \
1116 --enable-authentication \
1217 --assets-directory /home/ec2-user/.workbench \
1318 > /tmp/ov-workbench.log 2>&1 &
You can’t perform that action at this time.
0 commit comments