DPZC_Ola/Zadanie_3_4/cloud-init.yml
2023-01-04 00:24:55 +01:00

33 lines
404 B
YAML

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:3000
auth: password
password: olczig
path: /root/config.yml
owner: root:root
runcmd:
- cd /root/
- chmod u+x install.sh
- ./install.sh
- code-server --config config.yml