From c321dbb7ccb5889e19f5c59b8326c77ecb02d67a Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Tue, 1 Mar 2022 22:13:41 +0100 Subject: [PATCH] added new lines at the end of cloud init templates --- modules/host/templates/boothook.sh.tpl | 2 +- modules/host/templates/userdata.yaml.tpl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/host/templates/boothook.sh.tpl b/modules/host/templates/boothook.sh.tpl index 96b4a3c..0b1f461 100644 --- a/modules/host/templates/boothook.sh.tpl +++ b/modules/host/templates/boothook.sh.tpl @@ -2,4 +2,4 @@ #cloud-boothook # Fix hostname after reboot -hostnamectl hostname "${hostname}" \ No newline at end of file +hostnamectl hostname "${hostname}" diff --git a/modules/host/templates/userdata.yaml.tpl b/modules/host/templates/userdata.yaml.tpl index 1ec848a..e9d9845 100644 --- a/modules/host/templates/userdata.yaml.tpl +++ b/modules/host/templates/userdata.yaml.tpl @@ -39,4 +39,5 @@ runcmd: - hostnamectl hostname ${hostname} # Finishing automatic reboot via Kured setup - - rebootmgrctl set-strategy off \ No newline at end of file + - rebootmgrctl set-strategy off + \ No newline at end of file