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"), |
149 |
fstype = "ext3" |
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 |
# / |
# / |
185 |
if oldprod.startswith(productName): |
if oldprod.startswith(productName): |
186 |
return True |
return True |
187 |
|
|
188 |
|
productUpgrades = { |
189 |
|
"SME Server": ("Mitel Networks", "SME Server", "e-smith server", ), |
190 |
|
} |
191 |
|
|
192 |
|
if productUpgrades.has_key(productName): |
193 |
|
acceptable = productUpgrades[productName] |
194 |
|
else: |
195 |
|
acceptable = () |
196 |
|
|
197 |
|
for p in acceptable: |
198 |
|
if oldprod.startswith(p): |
199 |
|
return True |
200 |
|
|
201 |
return False |
return False |
202 |
|
|
203 |
def versionMatches(self, oldver): |
def versionMatches(self, oldver): |