[anaconda:master] Make missing encryption key error message more helpful (#1074441)

mulhern amulhern at redhat.com
Mon Aug 18 16:31:48 UTC 2014


Resolves: rhbz#1074441

Signed-off-by: mulhern <amulhern at redhat.com>
---
 pyanaconda/storage_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/storage_utils.py b/pyanaconda/storage_utils.py
index 0c5ab56..069302c 100644
--- a/pyanaconda/storage_utils.py
+++ b/pyanaconda/storage_utils.py
@@ -335,4 +335,4 @@ def verify_LUKS_devices_have_key(storage):
        d.format.type == "luks" and \
        not d.format.exists and \
        not d.format.hasKey):
-        yield LUKSDeviceWithoutKeyError(_("LUKS device %s has no encryption key") % (dev.name,))
+        yield LUKSDeviceWithoutKeyError(_("Encryption requested for LUKS device %s but no encryption key specified for this device.") % (dev.name,))
-- 
1.9.3



More information about the anaconda-patches mailing list