diff --git a/cloud-init.yml b/cloud-init.yml new file mode 100644 index 0000000..e3da710 --- /dev/null +++ b/cloud-init.yml @@ -0,0 +1,11 @@ +#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