[master 2/2] Use the adapted Timezone class for kickstart data

vpodzime installerbot-noreply at redhat.com
Thu May 28 14:50:09 UTC 2015


From: Vratislav Podzimek <vpodzime at redhat.com>

Otherwise we cannot distinguish NTP servers from pools because the old version
stores them in a list.
---
 pyanaconda/kickstart.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index b67afbd..539aba6 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -1635,9 +1635,9 @@ def execute(self, storage, ksdata, instClass, users):
         for usr in self.sshUserList:
             users.setUserSshKey(usr.username, usr.key)
 
-class Timezone(commands.timezone.F18_Timezone):
+class Timezone(commands.timezone.F23_Timezone):
     def __init__(self, *args):
-        commands.timezone.F18_Timezone.__init__(self, *args)
+        commands.timezone.F23_Timezone.__init__(self, *args)
 
         self._added_chrony = False
         self._enabled_chrony = False


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/f288ddc11528a4b92befa00dffc0fc799cfba9d2


More information about the anaconda-patches mailing list