aws/USER_DATA.py

13 lines
259 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
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
"""