Don't check for failovermethod on photon

This commit is contained in:
MKLeb 2023-04-10 15:21:42 -04:00 committed by Gareth J. Greenaway
parent 0de00506bd
commit 6e289e74da

View file

@ -494,7 +494,7 @@ def rpm(
else:
distro_name = distro.capitalize()
if int(distro_version) < 8:
if distro != "photon" and int(distro_version) < 8:
failovermethod = "\n failovermethod=priority"
else:
failovermethod = ""