> diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py > index cff041f..38353d7 100644 > --- a/pyanaconda/kickstart.py > +++ b/pyanaconda/kickstart.py > @@ -1116,6 +1116,14 @@ class VolGroupData(commands.volgroup.FC3_VolGroupData): > peSize=self.pesize/1024.0) > > storage.createDevice(request) > + if self.reserved_space: > + if self.reserved_space < 0: > + raise KickstartValueError(formatErrorMsg(self.lineno, msg="Volume group reserved space must be a positive integer.")) > + request.reserved_space = self.reserved_space > + elif self.reserved_percent: > + if not 0 < self.reserved_percent < 100: > + raise KickstartValueError(formatErrorMsg(self.lineno, msg="Volume group reserved space percentage must be between 1 and 99.")) > + request.reserved_percent = self.reserved_percent > These checks could go in pykickstart, in which case ksvalidator could be used to catch them before someone even tried to install. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list