/[smeserver]/cdrom.image/sme9/product/installclasses/server.py
ViewVC logotype

Diff of /cdrom.image/sme9/product/installclasses/server.py

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4 by charliebrady, Tue Jul 30 21:37:14 2013 UTC Revision 1.7 by wellsi, Sun Dec 1 04:05:23 2013 UTC
# Line 143  class InstallClass(BaseInstallClass): Line 143  class InstallClass(BaseInstallClass):
143    
144          useRAID_flag = not flags.cmdline.has_key("noraid")          useRAID_flag = not flags.cmdline.has_key("noraid")
145    
146          fstype = "ext3"          fstype = "ext4"
147          if flags.cmdline.has_key("ext4"):          if flags.cmdline.has_key("ext3"):
148              fstype = "ext4"              fstype = "ext3"
149    
150          # /boot          # /boot
151          # Manually specify fstype = ext3/ext4 and size = 100 MB          # Manually specify fstype = ext3/ext4 and size = 250 MB
152          # (Platform default is fstype ext4 and size = 500 MB)          # (Platform default is fstype ext4 and size = 500 MB)
153    
154          autorequests.append(PartSpec(mountpoint="/boot", fstype=fstype, size=100, useRAID=useRAID_flag,          autorequests.append(PartSpec(mountpoint="/boot", fstype=fstype, size=250, useRAID=useRAID_flag,
155                              weight=platform.weight(mountpoint="/boot")))                              weight=platform.weight(mountpoint="/boot")))
156    
157          # /          # /
# Line 177  class InstallClass(BaseInstallClass): Line 177  class InstallClass(BaseInstallClass):
177                                 anaconda.platform)                                 anaconda.platform)
178    
179      def productMatches(self, oldprod):      def productMatches(self, oldprod):
180            log.info("oldprod %s productName %s" % (oldprod, productName));
181          if oldprod is None:          if oldprod is None:
182              return False              return False
183    
# Line 185  class InstallClass(BaseInstallClass): Line 186  class InstallClass(BaseInstallClass):
186    
187          return False          return False
188    
189        def versionMatches(self, oldver):
190            log.info("oldver %s productVersion %s" % (oldver, productVersion));
191            return True;
192    
193      def getBackend(self):      def getBackend(self):
194          return yuminstall.YumBackend          return yuminstall.YumBackend
195    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed