pzc-hetzner/cloud-init.yml

12 lines
272 B
YAML
Raw Normal View History

2023-01-03 00:01:56 +01:00
#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