update photon paths to use their $releasever string string which includes .0

This commit is contained in:
Felippe Burk 2023-12-15 11:13:20 -07:00
parent 3e7899c3b0
commit 1d0b29c803

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}"