summaryrefslogtreecommitdiffstats
path: root/storage/__init__.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-05-15 14:51:59 -0400
committerChris Lumens <clumens@redhat.com>2009-05-15 14:52:39 -0400
commit49f88cf335229ebf1bf140d4afbbe3f74b652141 (patch)
tree472cc6f11cbf9175e1f7ceae87b2fe622e3c7261 /storage/__init__.py
parent290a3694f8f44f9a3211d7c2146a0ba75617f184 (diff)
downloadanaconda-49f88cf335229ebf1bf140d4afbbe3f74b652141.tar.gz
anaconda-49f88cf335229ebf1bf140d4afbbe3f74b652141.tar.xz
anaconda-49f88cf335229ebf1bf140d4afbbe3f74b652141.zip
Set clearPartType to None on preupgrade too (#499321).
Diffstat (limited to 'storage/__init__.py')
-rw-r--r--storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index 2bfadf955..7000b2681 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -281,7 +281,7 @@ class Storage(object):
_("Finding storage devices..."))
self.iscsi.startup(self.anaconda.intf)
self.zfcp.startup()
- if not self.anaconda.isKickstart:
+ if self.anaconda.id.getUpgrade() or not self.anaconda.isKickstart:
# clearPartType defaults to CLEARPART_TYPE_LINUX, but the user
# has not made any selection, so we need to ignore it during
# population of the device tree