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