cloud-init
This commit is contained in:
parent
58ac34de06
commit
034263f407
33
Zadanie_3_4/cloud-init.yml
Normal file
33
Zadanie_3_4/cloud-init.yml
Normal file
@ -0,0 +1,33 @@
|
||||
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:3000
|
||||
|
||||
auth: password
|
||||
|
||||
password: olczig
|
||||
|
||||
path: /root/config.yml
|
||||
|
||||
owner: root:root
|
||||
|
||||
|
||||
|
||||
runcmd:
|
||||
|
||||
- cd /root/
|
||||
|
||||
- chmod u+x install.sh
|
||||
|
||||
- ./install.sh
|
||||
|
||||
- code-server --config config.yml
|
Loading…
Reference in New Issue
Block a user