This commit is contained in:
mikolajpaterka 2023-01-03 22:58:35 +01:00
parent 7b862b9dab
commit 6a00378193
2 changed files with 21 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Aby urochomić użyj komendy:
Aby urochomić użyj komend:
```
chmod +x run.sh
./run.sh
```

18
cloud-init.yml Normal file
View File

@ -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