File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ sudo docker run \
1515 --privileged \
1616 --device=/dev/kmsg \
1717 gcr.io/cadvisor/cadvisor:v0.36.0
18+
19+ sudo docker start cadvisor
1820
1921wget https://github.com/scs-solution/scs-packet-capturer/releases/download/0/scs-packet-capturer
2022chmod +x scs-packet-capturer
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ ssh -o StrictHostKeyChecking=no -i $privateKey ec2-user@$privateIp /home/ec2-use
3131ssh -o StrictHostKeyChecking=no -i $privateKey ec2-user@$privateIp /home/ec2-user/client-init-script.sh
3232ssh -o StrictHostKeyChecking=no -i $privateKey ec2-user@$privateIp /home/ec2-user/client-run-script.sh
3333
34+ ssh -o StrictHostKeyChecking=no -i $privateKey ec2-user@$privateIp echo " @reboot /home/ec2-user/common-init-script.sh" | crontab -
35+
3436rm $privateKey
3537rm client-init-script.sh
3638rm client-run-script.sh
You can’t perform that action at this time.
0 commit comments