summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-08-14 00:10:11 +0000
committerJeremy Katz <katzj@redhat.com>2003-08-14 00:10:11 +0000
commit3f01dfc8e9d6b8bf25b79b1cbda94ca0ff4ada09 (patch)
treeec0e6758ee08843943aa10f5e3ccc71f7ca0a7c0
parent8fb83ba30befb70761a777d203c2c4e363ed9081 (diff)
downloadanaconda-3f01dfc8e9d6b8bf25b79b1cbda94ca0ff4ada09.tar.gz
anaconda-3f01dfc8e9d6b8bf25b79b1cbda94ca0ff4ada09.tar.xz
anaconda-3f01dfc8e9d6b8bf25b79b1cbda94ca0ff4ada09.zip
if they don't include a clearpart line, ask for it sanely. (#100892)
-rw-r--r--kickstart.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/kickstart.py b/kickstart.py
index 00a7a959f..24db10203 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -744,6 +744,7 @@ class KickstartBase(BaseInstallClass):
type = CLEARPART_TYPE_NONE
self.setClearParts(id, type, drives, initAll = initAll)
+ self.skipSteps.append("autopartition")
# this adds a partition to the autopartition list replacing anything
# else with this mountpoint so that you can use autopart and override /
@@ -769,8 +770,6 @@ class KickstartBase(BaseInstallClass):
self.skipSteps.append("partitionmethod")
self.skipSteps.append("partitionmethodsetup")
self.skipSteps.append("fdisk")
- self.skipSteps.append("autopartition")
-
def defineLogicalVolume(self, id, args):
(args, extra) = isys.getopt(args, '', [ 'vgname=',
@@ -1160,7 +1159,6 @@ class KickstartBase(BaseInstallClass):
self.skipSteps.append("partitionmethod")
self.skipSteps.append("partitionmethodsetup")
self.skipSteps.append("fdisk")
- self.skipSteps.append("autopartition")
def setSteps(self, dispatch):
if self.installType == "upgrade":
@@ -1188,7 +1186,6 @@ class KickstartBase(BaseInstallClass):
dispatch.skipStep("partitionmethod")
dispatch.skipStep("partitionmethodsetup")
dispatch.skipStep("fdisk")
- dispatch.skipStep("autopartition")
dispatch.skipStep("bootdisk")
# because these steps depend on the monitor being probed