diff --git a/confluent_osdeploy/el7/profiles/default/scripts/functions b/confluent_osdeploy/el7/profiles/default/scripts/functions index 35f3d832..0f315999 100644 --- a/confluent_osdeploy/el7/profiles/default/scripts/functions +++ b/confluent_osdeploy/el7/profiles/default/scripts/functions @@ -4,7 +4,7 @@ run_remote() { echo '---------------------------------------------------------------------------' echo Running $requestedcmd from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 if [ -x /usr/bin/chcon ]; then @@ -21,7 +21,7 @@ run_remote_python() { echo '---------------------------------------------------------------------------' echo Running python script "'$*'" from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 /usr/libexec/platform-python $* echo "'$*' exited with code $?" cd - diff --git a/confluent_osdeploy/el8/profiles/default/scripts/functions b/confluent_osdeploy/el8/profiles/default/scripts/functions index 35f3d832..0f315999 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/functions +++ b/confluent_osdeploy/el8/profiles/default/scripts/functions @@ -4,7 +4,7 @@ run_remote() { echo '---------------------------------------------------------------------------' echo Running $requestedcmd from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 if [ -x /usr/bin/chcon ]; then @@ -21,7 +21,7 @@ run_remote_python() { echo '---------------------------------------------------------------------------' echo Running python script "'$*'" from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 /usr/libexec/platform-python $* echo "'$*' exited with code $?" cd - diff --git a/confluent_osdeploy/genesis/profiles/default/scripts/functions b/confluent_osdeploy/genesis/profiles/default/scripts/functions index 35f3d832..0f315999 100644 --- a/confluent_osdeploy/genesis/profiles/default/scripts/functions +++ b/confluent_osdeploy/genesis/profiles/default/scripts/functions @@ -4,7 +4,7 @@ run_remote() { echo '---------------------------------------------------------------------------' echo Running $requestedcmd from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 if [ -x /usr/bin/chcon ]; then @@ -21,7 +21,7 @@ run_remote_python() { echo '---------------------------------------------------------------------------' echo Running python script "'$*'" from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 /usr/libexec/platform-python $* echo "'$*' exited with code $?" cd - diff --git a/confluent_osdeploy/rhvh4/profiles/default/scripts/functions b/confluent_osdeploy/rhvh4/profiles/default/scripts/functions index 35f3d832..0f315999 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/scripts/functions +++ b/confluent_osdeploy/rhvh4/profiles/default/scripts/functions @@ -4,7 +4,7 @@ run_remote() { echo '---------------------------------------------------------------------------' echo Running $requestedcmd from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 if [ -x /usr/bin/chcon ]; then @@ -21,7 +21,7 @@ run_remote_python() { echo '---------------------------------------------------------------------------' echo Running python script "'$*'" from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 /usr/libexec/platform-python $* echo "'$*' exited with code $?" cd - diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/functions b/confluent_osdeploy/suse15/profiles/hpc/scripts/functions index 6a75c097..97df7cec 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/functions +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/functions @@ -4,7 +4,7 @@ run_remote() { echo '---------------------------------------------------------------------------' echo Running $requestedcmd from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 chmod +x $1 cmd=$1 shift @@ -18,7 +18,7 @@ run_remote_python() { echo '---------------------------------------------------------------------------' echo Running python script "'$*'" from https://$mgr/confluent-public/os/$profile/scripts/ cd $(mktemp -d) - curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 + curl -f -sS https://$mgr/confluent-public/os/$profile/scripts/$1 > $1 python3 $* echo "'$*' exited with code $?" cd -