Use the LUKS UUID, not the filesystem UUID for dracut. (#561373)
---
storage/devices.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/storage/devices.py b/storage/devices.py
index ad13da9..9584055 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1647,7 +1647,7 @@ class LUKSDevice(DMCryptDevice):
return self.parents[0]
def dracutSetupString(self):
- return "rd_LUKS_UUID=luks-%s" % self.format.uuid
+ return "rd_LUKS_UUID=luks-%s" % self.slave.format.uuid
class LVMVolumeGroupDevice(DMDevice):
--
1.6.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|