From: Rihab Banday Date: Thu, 12 Aug 2021 13:42:13 +0000 (+0200) Subject: Fix jinja2 rendering issue X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=kuberef.git;a=commitdiff_plain;h=54001ff5aeaa915b219f45cc18b6f8b67c1ed427 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 --- 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: