DPZC-Hetzner/zad3_4_init_vscode

12 lines
285 B
Plaintext
Raw Normal View History

2022-12-30 18:46:08 +01:00
cloud_init_vscode=r'''#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
'''