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