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

[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")
-- 
1.5.4.3


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