---
blivet/devicetree.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/blivet/devicetree.py b/blivet/devicetree.py
index f8fc112..73558df 100644
--- a/blivet/devicetree.py
+++ b/blivet/devicetree.py
@@ -910,6 +910,9 @@ class DeviceTree(object):
log.warning("failed to obtain uuid for mdraid device")
else:
device = self.getDeviceByUuid(uuid,
incomplete=flags.allow_degraded_mdraid)
+ if device:
+ # update the device instance with the real name
+ device.name = name
# if we get here, we found all of the slave devices and
# something must be wrong -- if all of the slaves are in
--
1.9.3