From cb0e8f7a081ee59cd4893feb8a8d7c1b0c8fdb65 Mon Sep 17 00:00:00 2001 From: Dharaneeshwaran Ravichandran Date: Mon, 15 Apr 2024 08:58:59 +0530 Subject: [PATCH] Add necessary new lines --- hack/upstream-ci-scripts/grub-menu.template | 1 + hack/upstream-ci-scripts/setup-pxe-boot.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/hack/upstream-ci-scripts/grub-menu.template b/hack/upstream-ci-scripts/grub-menu.template index c0aada1..48bbcef 100644 --- a/hack/upstream-ci-scripts/grub-menu.template +++ b/hack/upstream-ci-scripts/grub-menu.template @@ -1,3 +1,4 @@ if [ ${GRUB_MAC_CONFIG} = "${SERVER_MAC}" ]; then ${MENU_ENTRY_CONTENT} fi + diff --git a/hack/upstream-ci-scripts/setup-pxe-boot.sh b/hack/upstream-ci-scripts/setup-pxe-boot.sh index cfcde07..556b60d 100755 --- a/hack/upstream-ci-scripts/setup-pxe-boot.sh +++ b/hack/upstream-ci-scripts/setup-pxe-boot.sh @@ -88,6 +88,7 @@ for (( i = 0; i < ${NODE_COUNT}; i++ )); do export SERVER_MAC=${MAC[i]} CONFIG=$(cat grub-menu.template | envsubst) GRUB_MENU_OUTPUT+=${CONFIG} + GRUB_MENU_OUTPUT+="\n" done GRUB_MENU_OUTPUT+="\n" GRUB_MENU_OUTPUT+=${GRUB_MENU_END}