dpzc/cloud-init.yml

11 lines
260 B
YAML
Raw Normal View History

2023-01-10 17:38:17 +01:00
#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