[blivet:master] If using pre-existing, no size needs to be specified in ksdata (#1172172)
mulhern
amulhern at redhat.com
Fri Jan 2 16:56:50 UTC 2015
Resolves: fed#1172172
Signed-off-by: mulhern <amulhern at redhat.com>
---
pyanaconda/kickstart.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 72d77f3..17844c7 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -832,7 +832,7 @@ class LogVolData(commands.logvol.F21_LogVolData):
else:
ty = storage.defaultFSType
- if size is None:
+ if size is None and not self.preexist:
if not self.size:
raise KickstartValueError(formatErrorMsg(self.lineno,
msg="Size can not be decided on from kickstart nor obtained from device."))
--
1.9.3
More information about the anaconda-patches
mailing list