You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
185B

  1. #!/bin/sh
  2. mkdir -p /.ssh
  3. cat > /.ssh/authorized_keys << EOF
  4. {% if root_ssh_authorized_keys is defined %}
  5. {% for key in root_ssh_authorized_keys %}
  6. {{key}}
  7. {% endfor %}
  8. {% endif %}
  9. EOF