Bug: _ONEDIR_DIR missing for CentOS/AlmaLinux/RockyLinux/etc. in bootstrap-salt.sh
Opened this issue · 0 comments
schories commented
Description
- _ONEDIR_DIR missing in bootstrap-salt.sh for CentOS/AlmaLinux/RockyLinux/etc.
- therefore salt repo URL is set wrong, resulting in a failed installation:
Errors during downloading metadata for repository 'saltstack':
- Status code: 404 for https://repo.saltproject.io/py3/redhat/9/x86_64/3005/repodata/repomd.xml (IP: 143.204.98.62)
Error: Failed to download metadata for repo 'saltstack': Cannot download repomd.xml: Cannot download repodata/repomd.xml:
Steps to Reproduce Issue
./bootstrap-salt.sh -P stable 3005
Versions and Systems
Root Causes
_ONEDIR_DIR missing in URL:
- https://github.com/saltstack/salt-bootstrap/blob/develop/bootstrap-salt.sh#L4618
- https://github.com/saltstack/salt-bootstrap/blob/develop/bootstrap-salt.sh#L4590
Will provide a fix with separate PR, hopefully closing this issue.