saltstack / salt-bootstrap

Generic Salt Bootstrap Script
Other
927 stars 551 forks source link

Need support for specifying something other than /tmp for installation execution #2067

Open edlitmus opened 6 hours ago

edlitmus commented 6 hours ago

Description of Issue/Question

On systems that conform to CIS-2 and have the noexec option specified for temp directories there needs to be an option for where script execution should be run from.

Setup

Mount /tmp with noexec set.

Steps to Reproduce Issue

On systems where /tmp and/or /var/tmp are mounted with noexec installation fails.

Versions and Systems

bootstrap-salt.sh -- Version 2024.11.29

edlitmus commented 6 hours ago

PR for adding this feature: https://github.com/saltstack/salt-bootstrap/pull/2068