summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRihab Banday <rihab.banday@ericsson.com>2021-08-12 15:42:13 +0200
committerRihab Banday <rihab.banday@ericsson.com>2021-08-12 19:38:07 +0000
commit54001ff5aeaa915b219f45cc18b6f8b67c1ed427 (patch)
tree8b27adba9d7ccaeeb4d9826309e1ac193c7c3450
parent6207ea445dacb16132d571162e2b5d013744e045 (diff)
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 <rihab.banday@ericsson.com> Change-Id: I216c40669a71f5ff233ba8e154c535fdc45ec76c Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72825 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
-rw-r--r--playbooks/roles/jump-vm/templates/user-data.j24
1 files 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: