run_remote() { cd $(mktemp -d) curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 if [ -x /unr/bin/chcon ]; then chcon system_u:object_r:bin_t:s0 $cmd fi shift ./$cmd $* cd - } run_remote_python() { cd $(mktemp -d) curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 /usr/libexec/platform-python $* cd - }