From b83528658e3ac1b9e7c39462de816b0846eb236f Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 20 Nov 2019 16:53:17 +0300 Subject: [PATCH] fix datasource/templates/user_data, add newline at the end of ssh key and dont add other empty lines by @honza801 --- datasource/templates/user_data | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datasource/templates/user_data b/datasource/templates/user_data index 4a94483..f6a4a58 100644 --- a/datasource/templates/user_data +++ b/datasource/templates/user_data @@ -1,6 +1,6 @@ #cloud-config {% if instance_keys %} ssh_authorized_keys: -{% for key in instance_keys %} - {{ key }}{% endfor %} +{% for key in instance_keys %} - {{ key }} +{% endfor %} {% endif %} -