From 674d32e9e5d348be86b3bbd1b2d37281201872c0 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 1 Dec 2020 12:55:41 -0500 Subject: [PATCH] Correct mistake in previous pre scripts --- confluent_osdeploy/el7/profiles/default/scripts/pre.sh | 2 +- confluent_osdeploy/el8/profiles/default/scripts/pre.sh | 2 +- confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/confluent_osdeploy/el7/profiles/default/scripts/pre.sh b/confluent_osdeploy/el7/profiles/default/scripts/pre.sh index 7899a42a..3bf26e94 100644 --- a/confluent_osdeploy/el7/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/el7/profiles/default/scripts/pre.sh @@ -29,7 +29,7 @@ else echo "rootpw --iscrypted $rootpw" > /tmp/rootpw fi curl -f https://$mgr/confluent-public/os/$profile/profile.yaml > /tmp/instprofile.yaml -blargs=$(grep ^installedargs: /tmp/instprofile.yaml | sed -e 's/#.*//' -e 's/%installedargs: //') +blargs=$(grep ^installedargs: /tmp/instprofile.yaml | sed -e 's/#.*//' -e 's/^installedargs: //') if [ ! -z "$blargs" ]; then blargs=' --append="'$blargs'"' fi diff --git a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh index 2c9f005b..1b9d084e 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh @@ -35,7 +35,7 @@ else echo "rootpw --iscrypted $rootpw" > /tmp/rootpw fi curl -f https://$mgr/confluent-public/os/$profile/profile.yaml > /tmp/instprofile.yaml -blargs=$(grep ^installedargs: /tmp/instprofile.yaml | sed -e 's/#.*//' -e 's/%installedargs: //') +blargs=$(grep ^installedargs: /tmp/instprofile.yaml | sed -e 's/#.*//' -e 's/^installedargs: //') if [ ! -z "$blargs" ]; then blargs=' --append="'$blargs'"' fi diff --git a/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh b/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh index f6df01ef..3cf90b04 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh @@ -43,7 +43,7 @@ else echo "rootpw --iscrypted $rootpw" > /tmp/rootpw fi curl -f https://$mgr/confluent-public/os/$profile/profile.yaml > /tmp/instprofile.yaml -blargs=$(grep ^installedargs: /tmp/instprofile.yaml | sed -e 's/#.*//' -e 's/%installedargs: //') +blargs=$(grep ^installedargs: /tmp/instprofile.yaml | sed -e 's/#.*//' -e 's/^installedargs: //') if [ ! -z "$blargs" ]; then blargs=' --append="'$blargs'"' fi