From 6d7b90c0b685ad31e4d4089841f4af53b178c791 Mon Sep 17 00:00:00 2001 From: adi Date: Fri, 30 Dec 2022 18:46:08 +0100 Subject: [PATCH] Add zad3_4 --- zad3_4_init_vscode | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 zad3_4_init_vscode diff --git a/zad3_4_init_vscode b/zad3_4_init_vscode new file mode 100644 index 0000000..a98e8d1 --- /dev/null +++ b/zad3_4_init_vscode @@ -0,0 +1,12 @@ +cloud_init_vscode=r'''#cloud-config +write_files: + - content: | + curl -fsSL https://code-server.dev/install.sh > /root/install.sh + path: /root/install.sh + owner: root:root + permissions: '755' + +runcmd: + - bash /root/install.sh + - code-server --bind-addr 0.0.0.0:8080 +''' \ No newline at end of file