[blivet:rhel7-branch] Make missing encryption key error message more helpful (#1074441)
mulhern
amulhern at redhat.com
Mon Aug 18 16:35:16 UTC 2014
Resolves: rhbz#1074441
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index 3ff2826..293b818 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -1503,7 +1503,7 @@ class Blivet(object):
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,))
def sanityCheck(self):
""" Run a series of tests to verify the storage configuration.
--
1.9.3
More information about the anaconda-patches
mailing list