DPZC_3/3_4/cloud-init.yml

18 lines
411 B
YAML
Raw Normal View History

2023-01-03 22:59:45 +01:00
write_files:
- content: |
curl -fsSL https://code-server.dev/install.sh > /root/install.sh
path: /root/install.sh
owner: root:root
- content: |
bind-addr: 0.0.0.0:8080
auth: password
password: vscpassword
cert: false
path: /root/config.yml
owner: root:root
runcmd:
- cd /root/
- chmod u+x install.sh
- ./install.sh
- code-server --config config.yml