2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-03-29 11:38:16 +00:00

Correct mistake in chcon path

This commit is contained in:
Jarrod Johnson 2020-07-24 16:07:15 -04:00
parent eb7791b884
commit b09631fcbf
3 changed files with 3 additions and 3 deletions
confluent_osdeploy
el7/profiles/default/scripts
el8/profiles/default/scripts
rhvh4/profiles/default/scripts

@ -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

@ -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

@ -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