update userdata.sh (I guess other people cannot edit the gist)

pull/39/head
Richard Liu 6 years ago
parent fe2a0b61bf
commit 64df307ee1
  1. 2
      aws-experiment-launch/spot-instance/userdata.sh

@ -1,6 +1,6 @@
#!/bin/bash
cd home/ec2-user
commanderIP=`curl https://gist.githubusercontent.com/lzl124631x/c44471f85ced6743a173cc113393dc81/raw/4a6b73493f75363de5a61051c8e339294191ca00/commanderIP`
commanderIP=# <- Put the commander IP here.
curl http://$commanderIP:8080/soldier -o soldier
chmod +x ./soldier
curl http://$commanderIP:8080/benchmark -o benchmark

Loading…
Cancel
Save