Files
SetParams
app
configs
controller
core
models
schemas
services
utils
yolov5
.github
classify
data
models
utils
aws
__init__.py
mime.sh
resume.py
userdata.sh
docker
flask_rest_api
google_app_engine
loggers
__init__.py
activations.py
augmentations.py
autoanchor.py
autobatch.py
benchmarks.py
callbacks.py
dataloaders.py
downloads.py
general.py
loss.py
metrics.py
plots.py
torch_utils.py
.dockerignore
.gitattributes
.gitignore
.pre-commit-config.yaml
CONTRIBUTING.md
LICENSE
README.md
detect_server.py
export.py
hubconf.py
train_server.py
tutorial.ipynb
val.py
validate_server.py
yolov5s.pt
zdp_R-ODYv1.pt
__init__.py
exts.py
file_tool.py
json_util.py
run.py
docs
tests
.gitignore
SetParams_Demo.py
__init__.py
deploy.sh
docker-compose.yml
nohup.out
pytest.ini
requirements.txt
requirements_p37.txt
setparams.py
start.sh
tpid
RODY/app/yolov5/utils/aws/mime.sh
552068321@qq.com 6f7de660aa first commit
2022-11-04 17:37:08 +08:00

27 lines
780 B
Bash

# AWS EC2 instance startup 'MIME' script https://aws.amazon.com/premiumsupport/knowledge-center/execute-user-data-ec2/
# This script will run on every instance restart, not only on first start
# --- DO NOT COPY ABOVE COMMENTS WHEN PASTING INTO USERDATA ---
Content-Type: multipart/mixed; boundary="//"
MIME-Version: 1.0
--//
Content-Type: text/cloud-config; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="cloud-config.txt"
#cloud-config
cloud_final_modules:
- [scripts-user, always]
--//
Content-Type: text/x-shellscript; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="userdata.txt"
#!/bin/bash
# --- paste contents of userdata.sh here ---
--//