[rhel7-branch 1/1] If using pre-existing, no size needs to be specified in ksdata (#1169783)
mulkieran
installerbot-noreply at redhat.com
Fri Jun 19 16:13:50 UTC 2015
From: mulhern <amulhern at redhat.com>
Resolves: rhbz#1169783
Related: rhbz#1196721
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 5cccb5e..ecd810c 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -832,7 +832,7 @@ def execute(self, storage, ksdata, instClass):
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."))
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/509da98d2f0d41f64e1942396840b85fad032667
More information about the anaconda-patches
mailing list