2021-11-24 11:54:36 +01:00
|
|
|
#cloud-config
|
|
|
|
users:
|
|
|
|
- name: kk
|
|
|
|
groups: users, admin
|
|
|
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
|
|
|
shell: /bin/bash
|
|
|
|
ssh_authorized_keys:
|
|
|
|
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDlRnEXhUu2ObVokroMosX0k0xIdpFTdo2d15MmJYnTBPzDtAl7H1JLt5uthhsvfVYNjxncHn6EoSom+yhH3NhZiapunqtqLgd1QXpBdp3nWiyXFT9OPZRnZaeZxho/kFj5w8EAzPejQOHiqmqzI86yMM0sIPC4yOOBxltryevO8YhFRz8QVcU3RAQakUKa0mmewbrF+wJp/FpoYICSzd3plTHcBs7L6uUqz49y3Ut+Lwaf5/YQ7Zc+oXWLIzVxlR4nneWB8ltcOEscRaRE+oChsziZ+5GgG5yeD7TvgOBlAUQxnk02gA1A2yiiCFuTSew2DriKZoSqDa28oyKuFLid2NOJn9V+bMREWkHa1lk7i8RUz6H3ugqv0TLHv0+grbKDrCf8yWrRp+EVb4Zb3WOdoROkPmn01lHKrsNMOuBBcFgmMKDl6+AQ4vtwAFl6q9GyTMnnkTgK1fJlzsfQPXCcABELVWbodFsvHfJdggEVTo39T4p3jReip/QdzAIvuYbRLDwi33M8M3fyLhaEAMxHuO6DQ5ZHEz+cqL9EP700nUsfi4Rh5wG0LdiCFmGrUr85/K1ni0N2cb4RT6PhxAuM6bUUvYJykhT5a5NiyR/ytjR5HsW0S+V+dli4IZkr3+uVngWEUCB4Tai9VFlzYkGTYCSNwLEI3rZ3KtLZ480nxw== jakkon6@st.amu.edu.pl
|
|
|
|
packages:
|
|
|
|
- fail2ban
|
|
|
|
- ufw
|
|
|
|
package_update: true
|
|
|
|
package_upgrade: true
|
|
|
|
runcmd:
|
2021-11-24 12:34:15 +01:00
|
|
|
- "wget https://git.wmi.amu.edu.pl/s470607/code-server-test/src/branch/master/setup.sh"
|
|
|
|
- "chmod + x setup.sh"
|
|
|
|
- "sh setup.sh"
|