kc-vm-init.tpl 175 B

123456789
  1. #cloud-config
  2. #ssh_pwauth: no
  3. users:
  4. - name: ${username}
  5. sudo: ALL=(ALL) NOPASSWD:ALL
  6. groups: sudo
  7. shell: /bin/bash
  8. ssh_authorized_keys:
  9. - "${ssh_key}"