[PATCH][master, f14] Allow ommission of --size for partitions, use default size.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This will allow users to specify partitions without a size to avoid
chasing the ever-growing /boot size requirement. We only have to update
the default partition size in pyanaconda.storage.devices.PartitionDevice.

It will also allow us to recommend the default to users who are creating
flexible LVM kickstarts instead of the current "--size=1 --grow" paradigm.
---
 pyanaconda/kickstart.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index e47ef15..4bafb27 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -747,10 +747,6 @@ class PartitionData(commands.partition.F12_PartData):
             anaconda.ksdata.skipSteps.extend(["partition", "zfcpconfig", "parttype"])
             return
 
-        # Size specification checks.
-        if not self.size and not self.onPart:
-            raise KickstartValueError, formatErrorMsg(self.lineno, msg="Partition requires a size specification")
-
         # Now get a format to hold a lot of these extra values.
         kwargs["format"] = getFormat(type,
                                      mountpoint=self.mountpoint,
-- 
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux