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

Re: [PATCH storage] Use correct storage attribute for ks clearpart



> diff --git a/kickstart.py b/kickstart.py
> index 2cf9a3f..475efe2 100644
> --- a/kickstart.py
> +++ b/kickstart.py
> @@ -237,8 +237,8 @@ class ClearPart(commands.clearpart.FC3_ClearPart):
>              if disk not in hds:
>                  raise KickstartValueError, formatErrorMsg(self.lineno, msg="Specified nonexistent disk %s in clearpart command" % disk)
>  
> -        self.handler.id.storage.autoClearPartType = self.type
> -        self.handler.id.storage.autoClearPartDrives = self.drives
> +        self.handler.id.storage.clearPartType = self.type
> +        self.handler.id.storage.clearPartDisks = self.drives
>          if self.initAll:
>              self.handler.id.storage.reinitializeDisks = self.initAll

I saw this in the kickstart stuff I worked on a bit yesterday.  Ack.

- Chris


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