update photon paths to use their $releasever string

This commit is contained in:
Felippe Burk 2023-12-15 13:17:54 -07:00 committed by Daniel Wozniak
parent e488ac1eec
commit 58774e9a98

View file

@ -256,6 +256,9 @@ def setup_redhat_family(
):
arch = os.environ.get("SALT_REPO_ARCH") or "x86_64"
if os_name == "photon":
os_version = f"{os_version}.0"
if repo_subpath == "minor":
repo_url_base = (
f"{root_url}/{os_name}/{os_version}/{arch}/{repo_subpath}/{salt_release}"