[PATCH 4/7] Add a default size of 500MB for new partition requests.

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

 



---
 storage/devices.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index fa7ab4f..b6628a6 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -948,6 +948,9 @@ class PartitionDevice(StorageDevice):
             # XXX It might be worthwhile to create a shit-simple
             #     PartitionRequest class and pass one to this constructor
             #     for new partitions.
+            if not self._size:
+                # default size for new partition requests
+                self._size = 500
             self.req_name = name
             self.req_partType = partType
             self.req_primary = primary
-- 
1.6.2.5

_______________________________________________
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