[BUG] salt-cloud fix doc on tmp folder info, and FR to disable use of uuid in tmp folder #58304
Labels
doc-correction
docu page has an error or deadlink
Documentation
Relates to Salt documentation
Feature
new functionality including changes to functionality and code refactors, etc.
Salt-Cloud
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
time-estimate-sprint
Projects
Milestone
Description
This would be a documentation fix plus feature request
Based on Cloud docs here https://docs.saltstack.com/en/latest/topics/cloud/troubleshooting.html#tmp-is-mounted-as-noexec
The tmp folder used to deploy minion on the instance should be /tmp/.saltcloud
But it's not correct, it's /tmp/.saltcloud-(random uuid)
salt/salt/utils/cloud.py
Line 1446 in 5281b62
tmp_dir = "{0}-{1}".format(tmp_dir.rstrip("/"), uuid.uuid4())
Should the docs be updated?
As a feature request, would be nice if this was set using an option, by default enabled, but given the change to the user to not append the uuid.
Setup
Salt: 3001.1
Steps to Reproduce the behavior
Deploy an instance, in my case using AWS EC2 as provider.
use:
salt-cloud -p profile instance_name --keep-tmp
Expected behavior
The text was updated successfully, but these errors were encountered: