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

Re: [PATCH] Fix kickstart PV references handling for lvm on raid (#497352).



>  kickstart.py |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/kickstart.py b/kickstart.py
> index de01017..c5d14e1 100644
> --- a/kickstart.py
> +++ b/kickstart.py
> @@ -695,6 +695,7 @@ class Raid(commands.raid.F9_Raid):
>          elif rd.mountpoint.startswith("pv."):
>              type = "lvmpv"
>              kwargs["name"] = rd.mountpoint
> +            self.handler.onPart[kwargs["name"]] = devicename
>  
>              if devicetree.getDeviceByName(kwargs["name"]):
>                  raise KickstartValueError, formatErrorMsg(self.lineno, msg="PV partition defined multiple times")

Looks okay to me, but it's worth putting together an updates image for
testing before you commit.

- Chris


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