Remote Execution path

I’m playing around with remote execution today and noticed it places the script it will execute inside /var/tmp
The problem we face is that our linux images are CIS hardened and in /etc/fstab the noexec option is set on /var/tmp, so these scripts cant be executed.
Is there a way for me to specify another directory it can use instead?

I’m currently on Katello 3.16.
The remote instances are Amazon Linux 2.

I think you can adapt the path in /etc/smart_proxy_dynflow_core/settings.d/remote_execution_ssh.yml for remote_working_dir.

This is correct. It needs to be done on each smart proxy you might have and after changing the setting smart_proxy_dynflow_core service needs to be restarted

1 Like

Amazing!
Thanks guys, it works.