#cloud-config packages: - curl write_files: - path: /root/install.sh content: | curl -fsSL https://code-server.dev/install.sh > /root/install.sh - path: /root/config.yml content: | bind-addr: 0.0.0.0 port: 80 password: password cert: false runcmd: - cd /root/ - chmod +x install.sh - ./install.sh - code-server --config config.yml