From 3b487504a3e07952297b1892063dca1010c5e90a Mon Sep 17 00:00:00 2001 From: Andrzej Preibisz Date: Tue, 3 Jan 2023 00:01:56 +0100 Subject: [PATCH] Zadanie 4 --- cloud-init.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cloud-init.yml 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