summaryrefslogtreecommitdiffstats
path: root/textw/partitioning_text.py
diff options
context:
space:
mode:
Diffstat (limited to 'textw/partitioning_text.py')
-rw-r--r--textw/partitioning_text.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/textw/partitioning_text.py b/textw/partitioning_text.py
index a9a9bd855..0a706f083 100644
--- a/textw/partitioning_text.py
+++ b/textw/partitioning_text.py
@@ -134,6 +134,14 @@ class AutoPartitionWindow:
todo.lilo.allowLiloLocationConfig(todo.fstab)
todo.fstab.formatAllFilesystems()
+
+ # make sure we don't format partitions we were told not too in
+ # kickstart mode
+ if todo.instClass.fstab:
+ for (mntpoint, (dev, fstype, reformat)) in todo.instClass.fstab:
+ if reformat == 0:
+ todo.fstab.setFormatFilesystem(dev, 0)
+
todo.instClass.addToSkipList("format")
return