cloud-init_lin.tpl.yaml 243 B

12345678910111213
  1. #cloud-config
  2. #ssh_pwauth: no
  3. users:
  4. - name: yc-user
  5. sudo: ALL=(ALL) NOPASSWD:ALL
  6. groups: sudo
  7. shell: /bin/bash
  8. ssh_authorized_keys:
  9. - "${ssh_key}"
  10. runcmd:
  11. - sudo apt-get update
  12. - sudo apt-get install perl -y