#!/bin/sh mkdir -p /.ssh cat > /.ssh/authorized_keys << EOF {% if root_ssh_authorized_keys is defined %} {% for key in root_ssh_authorized_keys %} {{key}} {% endfor %} {% endif %} EOF