In the process of munging our RHEL5 kickstarts to RHEL6, we started getting this error "Partition requires a size specification", the partition had a size of 0 set in the kickstart, with grow.
part pv.2 --size=0 --grow
reading kickstart.py, it seems that the check for size has gone from pd.size = None to not self.size
if not self.size and not self.onPart: raise KickstartValueError, formatErrorMsg(self.lineno, msg="Partition requires a size specification")
The fix was simple enough then, just change size from 0 to 1.
part pv.2 --size=1 --grow

Comments

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

About the Author...