Skip to content

Commit

Permalink
Add rhel 7.5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jkonecny12 committed Sep 17, 2018
1 parent 88eb8df commit e043b33
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anaconda_updates/releases/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__all__ = ["Branch", "GeneralBranch", "master",
"f22", "f23", "f24", "f25", "f26", "f27", "f28", "f29",
"rhel6", "rhel6_8",
"rhel7", "rhel7_1", "rhel7_2", "rhel7_3", "rhel7_4"]
"rhel7", "rhel7_1", "rhel7_2", "rhel7_3", "rhel7_4", "rhel7_5"]

import subprocess
import os
Expand Down Expand Up @@ -31,6 +31,7 @@ class Branch(Enum):
rhel7_2 = 22,
rhel7_3 = 23,
rhel7_4 = 24,
rhel7_5 = 25,


class GeneralBranch(object):
Expand Down
17 changes: 17 additions & 0 deletions anaconda_updates/releases/rhel7_5.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

from . import GeneralBranch, Branch
from anaconda_updates.settings import GlobalSettings


class Rhel7_5Branch(GeneralBranch):

def __init__(self):
super().__init__(branch_type=Branch.rhel7_5,
cmd_args=["-rh7.5", "--rhel7.5"],
help="working on RHEL 7.5",
version="21.48.22.134",
img_name="rhel7.5_updates.img",
blivet_args=[], pykickstart_args=[])

GlobalSettings.use_blivet = False
GlobalSettings.use_pykickstart = False

0 comments on commit e043b33

Please sign in to comment.