summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-10-25 21:04:45 +0000
committerMike Fulbright <msf@redhat.com>2001-10-25 21:04:45 +0000
commit5aa1fc77af3ae482b5a3af33d09deffa7d0847e9 (patch)
tree6ebcb90319eacdce3117b7f16c8337e66a1dc3ed /autopart.py
parentbef19dc45c49f93e916c08044d89d55fff49715c (diff)
downloadanaconda-5aa1fc77af3ae482b5a3af33d09deffa7d0847e9.tar.gz
anaconda-5aa1fc77af3ae482b5a3af33d09deffa7d0847e9.tar.xz
anaconda-5aa1fc77af3ae482b5a3af33d09deffa7d0847e9.zip
kickstart harddrive wont work w/o this, since protected partitions dont get set\!
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/autopart.py b/autopart.py
index 657b364d8..9916af67a 100644
--- a/autopart.py
+++ b/autopart.py
@@ -845,6 +845,8 @@ def doClearPartAction(partitions, diskset):
def doAutoPartition(dir, diskset, partitions, intf, instClass, dispatch):
if instClass.name and instClass.name == "kickstart":
isKickstart = 1
+ # XXX hack
+ setProtected(partitions, dispatch)
else:
isKickstart = 0