Add zad3_4
This commit is contained in:
parent
e20a0ed395
commit
6d7b90c0b6
12
zad3_4_init_vscode
Normal file
12
zad3_4_init_vscode
Normal file
@ -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
|
||||||
|
'''
|
Loading…
Reference in New Issue
Block a user