From b09631fcbf5fe082f7f69bb486775e5902832e99 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 24 Jul 2020 16:07:15 -0400 Subject: [PATCH] Correct mistake in chcon path --- confluent_osdeploy/el7/profiles/default/scripts/functions | 2 +- confluent_osdeploy/el8/profiles/default/scripts/functions | 2 +- confluent_osdeploy/rhvh4/profiles/default/scripts/functions | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/confluent_osdeploy/el7/profiles/default/scripts/functions b/confluent_osdeploy/el7/profiles/default/scripts/functions index 3bd74083..56a41eec 100644 --- a/confluent_osdeploy/el7/profiles/default/scripts/functions +++ b/confluent_osdeploy/el7/profiles/default/scripts/functions @@ -3,7 +3,7 @@ run_remote() { curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 - if [ -x /unr/bin/chcon ]; then + if [ -x /usr/bin/chcon ]; then chcon system_u:object_r:bin_t:s0 $cmd fi shift diff --git a/confluent_osdeploy/el8/profiles/default/scripts/functions b/confluent_osdeploy/el8/profiles/default/scripts/functions index 3bd74083..56a41eec 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/functions +++ b/confluent_osdeploy/el8/profiles/default/scripts/functions @@ -3,7 +3,7 @@ run_remote() { curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 - if [ -x /unr/bin/chcon ]; then + if [ -x /usr/bin/chcon ]; then chcon system_u:object_r:bin_t:s0 $cmd fi shift diff --git a/confluent_osdeploy/rhvh4/profiles/default/scripts/functions b/confluent_osdeploy/rhvh4/profiles/default/scripts/functions index 3bd74083..56a41eec 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/scripts/functions +++ b/confluent_osdeploy/rhvh4/profiles/default/scripts/functions @@ -3,7 +3,7 @@ run_remote() { curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 - if [ -x /unr/bin/chcon ]; then + if [ -x /usr/bin/chcon ]; then chcon system_u:object_r:bin_t:s0 $cmd fi shift