[PATCH 6/6] Use the LUKS UUID, not the filesystem UUID for dracut. (#561373)

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

 



---
 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux