From 54001ff5aeaa915b219f45cc18b6f8b67c1ed427 Mon Sep 17 00:00:00 2001 From: Rihab Banday Date: Thu, 12 Aug 2021 15:42:13 +0200 Subject: [PATCH] Fix jinja2 rendering issue This patch changes the order of the lines to fix the jinja2 rendering issue caused by the introduction of license headers. Signed-off-by: Rihab Banday Change-Id: I216c40669a71f5ff233ba8e154c535fdc45ec76c Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72825 Tested-by: jenkins-ci Reviewed-by: Georg Kunz Reviewed-by: Michael Pedersen --- playbooks/roles/jump-vm/templates/user-data.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/roles/jump-vm/templates/user-data.j2 b/playbooks/roles/jump-vm/templates/user-data.j2 index 8b0fba5..a23aac6 100644 --- a/playbooks/roles/jump-vm/templates/user-data.j2 +++ b/playbooks/roles/jump-vm/templates/user-data.j2 @@ -1,11 +1,11 @@ +#jinja2:lstrip_blocks: True +#cloud-config {# SPDX-FileCopyrightText: 2021 Anuket contributors SPDX-License-Identifier: Apache-2.0 #} -#jinja2:lstrip_blocks: True -#cloud-config users: - name: {{ lookup('env', 'USERNAME') }} ssh-authorized-keys: -- 2.16.6