summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2010-02-15 18:13:55 -0600
committerDavid Lehman <dlehman@redhat.com>2010-02-16 09:20:58 -0600
commit749c3954a5fd21c8c745f1d22669c11509a011a8 (patch)
tree93ec8c4bed9d655a46eba240fba97432c0453865
parentb415bb6857fce1cb4ce2f728a55de3699cd37d07 (diff)
downloadanaconda-749c3954a5fd21c8c745f1d22669c11509a011a8.tar.gz
anaconda-749c3954a5fd21c8c745f1d22669c11509a011a8.tar.xz
anaconda-749c3954a5fd21c8c745f1d22669c11509a011a8.zip
Use the LUKS UUID, not the filesystem UUID for dracut. (#561373)
-rw-r--r--storage/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devices.py b/storage/devices.py
index ad13da9fa..9584055e1 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):