12 lines
272 B
YAML
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
|