aws/USER_DATA.py

11 lines
213 B
Python
Raw Normal View History

2024-12-20 20:58:05 +01:00
REPOSITORY_URL = "https://git.wmi.amu.edu.pl/s464863/aws.git"
user_data=f"""
#!/bin/bash
2024-12-20 23:08:59 +01:00
sudo yum update -y
sudo yum install -y git
2024-12-20 20:58:05 +01:00
sudo git clone {REPOSITORY_URL}
cd aws
sudo chmod +x webservice
./webservice
"""