add vscode cloud init file
This commit is contained in:
parent
7adf4f005d
commit
31648b1989
14
vscode-cloud-init.yaml
Normal file
14
vscode-cloud-init.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#cloud-config
|
||||||
|
|
||||||
|
users:
|
||||||
|
- name: s444510
|
||||||
|
groups: users, admin
|
||||||
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||||
|
shell: /bin/bash
|
||||||
|
ssh_authorized_keys:
|
||||||
|
- <public_ssh_key>
|
||||||
|
package_update: true
|
||||||
|
package_upgrade: true
|
||||||
|
runcmd:
|
||||||
|
- curl -fsSL https://code-server.dev/install.sh | sh -s
|
||||||
|
- systemctl --user enable --now code-server
|
Loading…
Reference in New Issue
Block a user