From 08dfd55ea09aec7cf180e63d2dfbdafb64625ceb Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 3 May 2021 13:28:28 -0400 Subject: [PATCH] Rename variables in the ubuntu initramfs portion --- .../ubuntu20.04/initramfs/custom-installation/post.sh | 6 +++--- .../ubuntu20.04/initramfs/custom-installation/pre.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/post.sh b/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/post.sh index ad7cbde8..e7ac0a11 100755 --- a/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/post.sh +++ b/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/post.sh @@ -1,7 +1,7 @@ #!/bin/bash deploycfg=/custom-installation/confluent/confluent.deploycfg -mgr=$(grep ^deploy_server $deploycfg|awk '{print $2}') -profile=$(grep ^profile: $deploycfg|awk '{print $2}') +confluent_mgr=$(grep ^deploy_server $deploycfg|awk '{print $2}') +confluent_profile=$(grep ^profile: $deploycfg|awk '{print $2}') export deploycfg mgr profile -curl -f https://$mgr/confluent-public/os/$profile/scripts/post.sh > /tmp/post.sh +curl -f https://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/post.sh > /tmp/post.sh . /tmp/post.sh diff --git a/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/pre.sh b/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/pre.sh index 58981daa..70def99c 100755 --- a/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/pre.sh +++ b/confluent_osdeploy/ubuntu20.04/initramfs/custom-installation/pre.sh @@ -1,6 +1,6 @@ #!/bin/bash deploycfg=/custom-installation/confluent/confluent.deploycfg -mgr=$(grep ^deploy_server $deploycfg|awk '{print $2}') -profile=$(grep ^profile: $deploycfg|awk '{print $2}') -curl -f https://$mgr/confluent-public/os/$profile/scripts/pre.sh > /tmp/pre.sh +confluent_mgr=$(grep ^deploy_server $deploycfg|awk '{print $2}') +confluent_profile=$(grep ^profile: $deploycfg|awk '{print $2}') +curl -f https://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/pre.sh > /tmp/pre.sh . /tmp/pre.sh