From 3b30c1ce33ad05ef3c6609f708fc945ca5e00f25 Mon Sep 17 00:00:00 2001 From: mikolajpaterka Date: Tue, 3 Jan 2023 22:59:45 +0100 Subject: [PATCH] 3_4 fix --- 3_4/cloud-init.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 3_4/cloud-init.yml diff --git a/3_4/cloud-init.yml b/3_4/cloud-init.yml new file mode 100644 index 0000000..153443c --- /dev/null +++ b/3_4/cloud-init.yml @@ -0,0 +1,18 @@ +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 \ No newline at end of file