aws/USER_DATA.py
dzikafoczka 0103b29138 lb2
2024-12-20 20:58:05 +01:00

13 lines
259 B
Python

REPOSITORY_URL = "https://git.wmi.amu.edu.pl/s464863/aws.git"
user_data=f"""
#!/bin/bash
sudo apt-get update -y
sudo apt-get install git -y
sudo mkdir /webservice
cd /webservice
sudo git clone {REPOSITORY_URL}
cd aws
sudo chmod +x webservice
./webservice
"""