pzc-hetzner/cloud-init.yml
Andrzej Preibisz 3b487504a3 Zadanie 4
2023-01-03 00:01:56 +01:00

12 lines
272 B
YAML

#cloud-config
write_files:
- content: |
curl -fsSL https://code-server.dev/install.sh > /root/code-server.sh
path: /root/code-server.sh
owner: root:root
permissions: '777'
runcmd:
- bash /root/code-server.sh
- code-server --bind-addr 0.0.0.0:8080