From e653c5dff6a7c60624c48851730c1843512b00be Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 18 Nov 2021 14:56:38 -0500 Subject: [PATCH] Switch to bash for running functions functions is a bashified facility. Just use bash for it rather than making it busybox friendly. --- .../initramfs/scripts/init-premount/confluent | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent b/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent index ac354792..30831e88 100644 --- a/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent +++ b/confluent_osdeploy/ubuntu20.04-diskless/initramfs/scripts/init-premount/confluent @@ -141,7 +141,4 @@ confluent_profile=$(grep ^profile: /etc/confluent/confluent.deploycfg| awk '{pri confluent_proto=$(grep ^protocol: /etc/confluent/confluent.deploycfg| awk '{print $2}') confluent_mgr=$(grep ^deploy_server: /etc/confluent/confluent.deploycfg| awk '{print $2}') curl -sf https://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/functions > /etc/confluent/functions -. /etc/confluent/functions -source_remote imageboot.sh - - +exec /bin/bash /etc/confluent/functions source_remote imageboot.sh