zadanie 3_4 cloud-init

This commit is contained in:
s470618 2021-12-01 10:44:52 +01:00
parent 58800230e7
commit 58629792b2

11
zad3_4 Normal file
View File

@ -0,0 +1,11 @@
#cloud-config
write_files:
- content: |
curl -fsSL https://code-server.dev/install.sh > /root/install.sh
path: /root/install.sh
owner: root:root
permissions: '755'
runcmd:
- bash /root/install.sh
- code-server --bind-addr 0.0.0.0:8080