93 |
sortPriority = 90000 |
sortPriority = 90000 |
94 |
hidden = 0 |
hidden = 0 |
95 |
|
|
96 |
|
bootloaderTimeoutDefault = 5 |
97 |
tasks = [(N_("Basic Server"), |
tasks = [(N_("Basic Server"), |
98 |
["base", "core"]), |
["base", "core"]), |
99 |
(N_("Minimal"), |
(N_("Minimal"), |
144 |
|
|
145 |
useRAID_flag = not flags.cmdline.has_key("noraid") |
useRAID_flag = not flags.cmdline.has_key("noraid") |
146 |
|
|
147 |
fstype = "ext3" |
fstype = "ext4" |
148 |
if flags.cmdline.has_key("ext4"): |
if flags.cmdline.has_key("ext3"): |
149 |
fstype = "ext4" |
fstype = "ext3" |
150 |
|
|
151 |
# /boot |
# /boot |
152 |
# Manually specify fstype = ext3/ext4 and size = 100 MB |
# Manually specify fstype = ext3/ext4 and size = 250 MB |
153 |
# (Platform default is fstype ext4 and size = 500 MB) |
# (Platform default is fstype ext4 and size = 500 MB) |
154 |
|
|
155 |
autorequests.append(PartSpec(mountpoint="/boot", fstype=fstype, size=100, useRAID=useRAID_flag, |
autorequests.append(PartSpec(mountpoint="/boot", fstype=fstype, size=250, useRAID=useRAID_flag, |
156 |
weight=platform.weight(mountpoint="/boot"))) |
weight=platform.weight(mountpoint="/boot"))) |
157 |
|
|
158 |
# / |
# / |
178 |
anaconda.platform) |
anaconda.platform) |
179 |
|
|
180 |
def productMatches(self, oldprod): |
def productMatches(self, oldprod): |
181 |
|
log.info("oldprod %s productName %s" % (oldprod, productName)); |
182 |
if oldprod is None: |
if oldprod is None: |
183 |
return False |
return False |
184 |
|
|
187 |
|
|
188 |
return False |
return False |
189 |
|
|
190 |
|
def versionMatches(self, oldver): |
191 |
|
log.info("oldver %s productVersion %s" % (oldver, productVersion)); |
192 |
|
return True; |
193 |
|
|
194 |
def getBackend(self): |
def getBackend(self): |
195 |
return yuminstall.YumBackend |
return yuminstall.YumBackend |
196 |
|
|