The latest pykickstart removes a bunch of deprecated things and therefore uses new command versions, so we need to make sure to use those. --- anaconda.spec.in | 2 +- pyanaconda/kickstart.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/anaconda.spec.in b/anaconda.spec.in index 6a8003e..3201474 100644 --- a/anaconda.spec.in +++ b/anaconda.spec.in @@ -25,7 +25,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define intltoolver 0.31.2-3 %define libnlver 1.0 %define libselinuxver 1.6 -%define pykickstartver 1.68 +%define pykickstartver 1.75 %define rpmpythonver 4.2-0.61 %define slangver 2.0.6-2 %define yumver 2.9.2 diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py index b4c1f19..35de00c 100644 --- a/pyanaconda/kickstart.py +++ b/pyanaconda/kickstart.py @@ -232,7 +232,7 @@ class AutoStep(commands.autostep.FC3_AutoStep): flags.autostep = 1 flags.autoscreenshot = self.autoscreenshot -class Bootloader(commands.bootloader.F12_Bootloader): +class Bootloader(commands.bootloader.F14_Bootloader): def execute(self, anaconda): if self.location == "none": location = None @@ -340,7 +340,7 @@ class Fcoe(commands.fcoe.F13_Fcoe): return fc -class Firewall(commands.firewall.F10_Firewall): +class Firewall(commands.firewall.F14_Firewall): def execute(self, anaconda): anaconda.firewall.enabled = self.enabled anaconda.firewall.trustdevs = self.trusts @@ -1038,7 +1038,7 @@ class VolGroupData(commands.volgroup.FC3_VolGroupData): storage.createDevice(request) -class XConfig(commands.xconfig.F10_XConfig): +class XConfig(commands.xconfig.F14_XConfig): def execute(self, anaconda): if self.startX: anaconda.desktop.setDefaultRunLevel(5) @@ -1050,9 +1050,9 @@ class ZeroMbr(commands.zerombr.F9_ZeroMbr): def execute(self, anaconda): anaconda.storage.zeroMbr = 1 -class ZFCP(commands.zfcp.F12_ZFCP): +class ZFCP(commands.zfcp.F14_ZFCP): def parse(self, args): - fcp = commands.zfcp.F12_ZFCP.parse(self, args) + fcp = commands.zfcp.F14_ZFCP.parse(self, args) try: storage.zfcp.ZFCP().addFCP(fcp.devnum, fcp.wwpn, fcp.fcplun) except ValueError, e: -- 1.7.0.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list